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
chore: upgrade WPCS to v3.0 #2924
Conversation
|
||
<!-- This would be a breaking change to fix--> | ||
<exclude name="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid" /> | ||
|
||
<!-- Should probably not be added back --> | ||
<exclude name="PHPCompatibility.Keywords.ForbiddenNamesAsDeclared.objectFound"/> |
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.
This was replaced with Universal.NamingConventions.NoReservedKeywordParameterNames.objectFound
and remediated in 66cc23c
Code Climate has analyzed commit ec93a97 and detected 5 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Commit ec93a97 escapes It's likely that we're "over-escaping" (many but not all
|
What does this implement/fix? Explain your changes.
This PR updates WPCS and VIPCS to their latest v3.0 versions.
The individual remediation steps are in the commit history.
Does this close any currently open issues?
Any relevant logs, error output, GraphiQL screenshots, etc?
Any other comments?
See the diff comments.
Where has this been tested?
Operating System: Ubuntu 22.04 (wsl2 + devilbox + php 8.1.14)
WordPress Version: 6.3.1