Laragear / TwoFactor

Two-Factor Authentication for all your users out-of-the-box.
https://github.com/sponsors/DarkGhostHunter
MIT License
273 stars 20 forks source link

[2.0] FIX: Exception "Serialization of 'Closure' is not allowed" in event Listeners. #83

Closed aon4o closed 6 months ago

aon4o commented 6 months ago

Description

This Pull Request fixes issue #82.

It adds the SerializesModels trait to all events in the package.

The code is tested in a local environment and all the tests pass.

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (48ef0b9) to head (3f73248). Report is 1 commits behind head on 2.x.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2.x #83 +/- ## =========================================== Coverage 100.00% 100.00% Complexity 157 157 =========================================== Files 20 20 Lines 444 444 =========================================== Hits 444 444 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.