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

Checked exceptions configuration missing #4996

Closed
janedbal opened this issue May 13, 2021 · 3 comments
Closed

Checked exceptions configuration missing #4996

janedbal opened this issue May 13, 2021 · 3 comments

Comments

@janedbal
Copy link
Contributor

Feature request

I'm trying to enable the new exception checking in 0.12.87, but I miss the most important feature I'm using with pepakriz/phpstan-exception-rules for years: whitelist of checked exceptions. The usecase is pretty obvious: I want to set up some base class in my codebase and check all its children (as described here). I dont care about the rest (all legacy code, all external libraries, ...). Whitelisting all unchecked exceptions is just too painful to set up as there are too many.

@ondrejmirtes
Copy link
Member

Implemented: phpstan/phpstan-src@349b3b3 /cc @mabar

@janedbal
Copy link
Contributor Author

Great! Will test soon, thank you!

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants