-
Notifications
You must be signed in to change notification settings - Fork 57
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
Switch is detected as two nesting levels #13
Comments
Could you send PR with failing test, please? I'll look on that. |
Sorry, I am not actively using these sniffs anymore (stopped over version incompatibilities as per other issue you commented on). And as above it wasn't clear what the intent about |
Ok, thank you for info. Just personal curiosity: what standards do you use now? |
Primarily WordPress CS and Yoast CS downstream from it. |
Thanks for sharing. You use that because of you work with Wordpress or is there something interesting even for non-Wordpress people? |
Purely because I work with WordPress, they are specific to it. :) |
I see :) |
PHP switch statement is being detected as two levels of logic nesting. This seems incorrect, unless the intent is to discourage switch altogether.
The text was updated successfully, but these errors were encountered: