Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Add WithConsoleEvents helper #46694

Merged
merged 3 commits into from Apr 5, 2023
Merged

Conversation

crynobone
Copy link
Member

@crynobone crynobone commented Apr 5, 2023

Make it easier to register console events on specific test without adding a massive memory leak and make it easier to be documented.

Also, move rerouteSymfonyCommandEvents to only initiate after the application has been booted. Fixes #46693

Make it easier to register console events on specific test without
adding a massive memory leak and make it easier to be documented.

fixes laravel#46693

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@taylorotwell taylorotwell merged commit e1fd262 into laravel:10.x Apr 5, 2023
16 checks passed
@crynobone crynobone deleted the patch-3 branch September 20, 2023 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symfony Command Events in TestCase-Class using CreateApplication-Treat will always be rerouted
2 participants