phpstan-src
phpstan-src copied to clipboard
Remove from final exit points every exception that is catched
Fixes https://github.com/phpstan/phpstan/issues/11906
@ondrejmirtes Should I open a PR for the 1.12.x branch as well? Or are you gonna back-porting all issues from the 2.0.x back to the 1.12.x?
If you want this PR to apply to 1.x you should target the PR like that.
It usually only makes sense if the PR does not conflict too much with 2.x
I'm not sure if all of those expected errors should disappear. That's why I didn't merge this yet.