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
As per #3932, development on PHP_CodeSniffer will continue in the PHPCSStandards/PHP_CodeSniffer repository. If you want to stay informed, you may want to start "watching" that repo (or watching releases from that repo).
Describe the bug
Since PHP 8.0 expressions can now throw exceptions.
So the code below is valid. However, it triggers
Squiz.PHP.NonExecutableCode.Unreachable
warning.Code sample
The text was updated successfully, but these errors were encountered: