You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this following example https://phpstan.org/r/543df433-81a7-494c-aacf-78323bca1dec
Since I don't ask PHPStan to report every missing @throws LogicException
I'd like a way to avoid having PHPStan reporting the deadCatch for the LogicException too.
Disallow unchecked exceptions in catch blocks. This might sound useful, but sometimes we want to check an unchecked exception and convert it to a checked exception before re-throwing.
Is it something doable ?
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered:
Feature request
Let's say I have configured
In this following example https://phpstan.org/r/543df433-81a7-494c-aacf-78323bca1dec
Since I don't ask PHPStan to report every missing
@throws LogicException
I'd like a way to avoid having PHPStan reporting the deadCatch for the LogicException too.
Kinda similar to the "sometimes" example of
https://phpstan.org/blog/bring-your-exceptions-under-control#future-scope
Is it something doable ?
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: