-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ScopeIndent reports wrong indentation in enums #3572
Comments
Wasn't aware of that, I've added this as an exclusion for now, not a huge problem 🙂 |
Closing as have confirmed indent checks are fixed in upcoming release. This is being tracked on the issues listed above. |
Should this still be happening in |
@lewiscowleschipuk Yes. Enum support has been added and will be included in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The file with an enum reports wrong indentation level (0 instead of 4)
Code sample
Custom ruleset
To reproduce
Steps to reproduce the behavior:
test.php
with the code sample above...phpcs test.php ...
The 'fixed' file looks like this:
Expected behavior
There shouldn't be any errors reported.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: