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

Change in symfony exception handler #711

Open
mmarton opened this issue Oct 28, 2024 · 1 comment
Open

Change in symfony exception handler #711

mmarton opened this issue Oct 28, 2024 · 1 comment

Comments

@mmarton
Copy link

mmarton commented Oct 28, 2024

Hi!

In yesterday releases (7.1.6, 6.4.13, 5.4.45) symfony fixed it's exception/error handler registration issue with phpunit.
see: symfony/symfony#58372

Now the workaround introduced after my previous issue (#640) is the one that triggers phpunit's THE ERROR HANDLER HAS CHANGED! warning :D

if I remove the call to KernelHelper::shutdownKernel the warning is gone.

env:
phpunit/phpunit                                11.4.2
symfony/framework-bundle                       7.1.6
zenstruck/foundry                              1.38.3
@nikophil
Copy link
Member

Hi @mmarton

would you mind to create a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants