Skip to content

Commit d30a303

Browse files
committed
WPCS 3.0 | Revert previously applied work-arounds
These are no longer needed with WPCS 3.0.0. Ref: 746
1 parent 0301892 commit d30a303

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.phpcs.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
<rule ref="WordPress-Extra">
2020
<exclude name="WordPress.Files.FileName"/>
2121
<exclude name="WordPress.NamingConventions.ValidVariableName"/>
22-
<exclude name="WordPress.NamingConventions.PrefixAllGlobals"/>
2322
<exclude name="Universal.Arrays.DisallowShortArraySyntax"/>
2423
<exclude name="WordPress.PHP.YodaConditions"/>
2524
</rule>

tests/RulesetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private function collect_phpcs_result() {
148148
}
149149

150150
$shell = sprintf(
151-
'%1$s%2$s --severity=1 --standard=%3$s --report=json --runtime-set minimum_supported_wp_version 0 ./%3$s/ruleset-test.inc',
151+
'%1$s%2$s --severity=1 --standard=%3$s --report=json ./%3$s/ruleset-test.inc',
152152
$php, // Current PHP executable if available.
153153
$this->phpcs_bin,
154154
$this->ruleset

0 commit comments

Comments
 (0)