Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Aug 6, 2024

before this PR PHPStorm false-postively reporting missing handling of ShouldNotHappenExceptions

grafik

LogicException

Exception that represents error in the program logic. This kind of exception should lead directly to a fix in your code.

see https://www.php.net/LogicException

@ondrejmirtes
Copy link
Member

Errr, no. I always turn off these PhpStorm inspections. PHPStan's exception checking is much more flexible.

@staabm staabm deleted the should-logic branch August 6, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants