We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
WP_CLI_CS
We have a new PHPCS standard for WP-CLI called WPCliCS (props @jrfnl). It is part of the wp-cli/wp-cli-tests package starting with version v2.1.0.
WPCliCS
wp-cli/wp-cli-tests
To adopt & enforce this new standard, the following actions need to be taken for this repository:
Create a PR that adds a custom ruleset phpcs.xml.dist to the repository
phpcs.xml.dist
.distignore
phpunit.xml.dist
.gitignore
phpunit.xml
phpcs.xml
.phpcs.xml
^2.1
Make any required changes to the code that fail the checks from the above ruleset in separate PRs
Merge thre ruleset once all required changes have been processed and merged
A sample PR for a simple repository can be seen here: https://github.com/wp-cli/maintenance-mode-command/pull/3/files
Related wp-cli/wp-cli#5179
The text was updated successfully, but these errors were encountered:
wp-cli
Successfully merging a pull request may close this issue.
We have a new PHPCS standard for WP-CLI called
WPCliCS
(props @jrfnl). It is part of thewp-cli/wp-cli-tests
package starting with version v2.1.0.To adopt & enforce this new standard, the following actions need to be taken for this repository:
Create a PR that adds a custom ruleset
phpcs.xml.dist
to the repositoryphpcs.xml.dist
file.distignore
to ignorephpcs.xml.dist
&phpunit.xml.dist
.gitignore
to ignorephpunit.xml
,phpcs.xml
&.phpcs.xml
^2.1
of thewp-cli/wp-cli-tests
as a dev dependencyMake any required changes to the code that fail the checks from the above ruleset in separate PRs
Merge thre ruleset once all required changes have been processed and merged
A sample PR for a simple repository can be seen here: https://github.com/wp-cli/maintenance-mode-command/pull/3/files
Related wp-cli/wp-cli#5179
The text was updated successfully, but these errors were encountered: