Prevent fatal errors not reported#6296
Prevent fatal errors not reported#6296staabm wants to merge 6 commits intosebastianbergmann:mainfrom
Conversation
|
I am not convinced (yet) that using In the meantime, I have updated the documentation to also suggest |
happens when php.ini declares `display_errors=0`
|
alternative fix could be to suggest in the configuration file when auto-generating. but my gut feeling is, that people might miss a lot of obvious errors when not using the correct ini setting (which would mean lots of support tickets on phpunit). we could also try to render a phpunit warning when display_errors=0, but atm phpunit crashes at the fatal error (so we would need a prepared error message in a shutdown function or similar) |
|
pushed an alternative and less invasive fix, which does not change the config with |
|
This should target the |
|
yes |
|
Cherry-picked into |
happens when php.ini declares
display_errors=0closes #6294