Skip to content

Commit e16335b

Browse files
committed
Reuse PHPCS ruleset distributed with PCP
1 parent ed8bbce commit e16335b

File tree

2 files changed

+1
-157
lines changed

2 files changed

+1
-157
lines changed

tools/phpcs/phpcs.ruleset.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
<description>Sniffs for WordPress plugins</description>
44

55
<rule ref="../../vendor/wpackagist-plugin/plugin-check/vendor/plugin-check/phpcs-sniffs/PluginCheck/ruleset.xml" />
6-
7-
<!-- Note: The following rule is not directly referencing '../../vendor/wpackagist-plugin/plugin-check/phpcs-rulesets/plugin-review.xml' -->
8-
<!-- This is because it has rules/configs that are not desired, especially setting the testVersion to 5.2-. -->
9-
<rule ref="./plugin-check.ruleset.xml"/>
6+
<rule ref="../../vendor/wpackagist-plugin/plugin-check/phpcs-rulesets/plugin-check.ruleset.xml"/>
107

118
<rule ref="PHPCompatibility"/>
129
<config name="testVersion" value="7.2-"/>

tools/phpcs/plugin-check.ruleset.xml

Lines changed: 0 additions & 153 deletions
This file was deleted.

0 commit comments

Comments
 (0)