-
Notifications
You must be signed in to change notification settings - Fork 4
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
Case in switch should not increment nesting level #3
Comments
Think the issue is that PHP CS tokenizer considers No immediate idea how to track this. There is tracking for try/catch, but switch/case syntax is a lot more elaborate. |
I have a solution... will create pull request soon... will also correctly handle nested |
This resolves both this issue and #2 I had trouble with the SniffTest unitTest |
I don't know what this method's cognitive-complexity should be, but I know it shouldn't be 11
9 maybe?
¯\_(ツ)_/¯
The text was updated successfully, but these errors were encountered: