spiral / framework

High-Performance PHP Framework
https://spiral.dev
MIT License
1.8k stars 87 forks source link

[spiral/tokenizer] Additional invocation of listeners in the `booting` event #1033

Closed msmakouz closed 9 months ago

msmakouz commented 9 months ago
Q A
Bugfix?
Breaks BC?
New feature? ✔️

The invocation of listeners has been added to the booting event. Now, events added in the init method will be triggered earlier, during the booting event. And listeners added in the boot method will be triggered as before, during the booted event.

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (6a38b50) 89.29% compared to head (a572721) 89.29%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1033 +/- ## ========================================= Coverage 89.29% 89.29% + Complexity 6211 6209 -2 ========================================= Files 817 817 Lines 17474 17474 ========================================= + Hits 15603 15604 +1 + Misses 1871 1870 -1 ```

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