-
Notifications
You must be signed in to change notification settings - Fork 27
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
Update to WPCS v3 #110
Update to WPCS v3 #110
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ruleset still needs an update:
Lines 67 to 69 in b527d8b
<rule ref="WordPress.WP.CapitalPDangit.Misspelled"> | |
<exclude-pattern>*/src/Export_Command\.php$</exclude-pattern> | |
</rule> |
I suspect changing the error code to WordPress.WP.CapitalPDangit.MisspelledInComment
should work for you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also looks like you still need to update a few inline ignore annotations for sniffs which have been swopped out for other sniffs.
Most notably WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition
has become Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition
.
Unrelated build failure |
Auto-generated PR that updates WPCS to the latest v3 and then fixes all automatically fixable issues.
See wp-cli/wp-cli-tests#175