mirror of
https://ghproxy.net/https://github.com/wp-cli/handbook.git
synced 2026-07-26 12:37:22 +08:00
43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="WP-CLI-handbook">
|
|
<description>Custom ruleset for WP-CLI command</description>
|
|
|
|
<!--
|
|
#############################################################################
|
|
COMMAND LINE ARGUMENTS
|
|
For help understanding this file: https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
|
|
For help using PHPCS: https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Usage
|
|
#############################################################################
|
|
-->
|
|
|
|
<!-- What to scan. -->
|
|
<file>.</file>
|
|
|
|
<!-- Show progress. -->
|
|
<arg value="p"/>
|
|
|
|
<!-- Strip the filepaths down to the relevant bit. -->
|
|
<arg name="basepath" value="./"/>
|
|
|
|
<!-- Check up to 8 files simultaneously. -->
|
|
<arg name="parallel" value="8"/>
|
|
|
|
<!--
|
|
#############################################################################
|
|
USE THE WP_CLI_CS RULESET
|
|
#############################################################################
|
|
-->
|
|
|
|
<rule ref="WP_CLI_CS"/>
|
|
|
|
<!--
|
|
#############################################################################
|
|
PROJECT SPECIFIC CONFIGURATION FOR SNIFFS
|
|
#############################################################################
|
|
-->
|
|
|
|
<!-- For help understanding the `testVersion` configuration setting:
|
|
https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
|
|
<config name="testVersion" value="7.2-"/>
|
|
|
|
</ruleset>
|