Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 472b325

Browse files
committed
WPCS: deleted deprecated sniffs in 0.11; Totally removed i18n checks in JC wordpress ruleset
1 parent 443720d commit 472b325

17 files changed

+2
-1405
lines changed

justcoded/JustcodedWordpress/ruleset.xml

+2-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
<exclude-pattern>*/vendor/*</exclude-pattern>
77

88
<rule ref="WordPress-Core">
9-
<exclude name="WordPress.WP.I18n.NonSingularStringLiteralDomain"/>
10-
<exclude name="WordPress.WP.I18n.MissingTranslatorsComment"/>
11-
<exclude name="WordPress.WP.I18n.MismatchedPlaceholders"/>
12-
<exclude name="WordPress.WP.I18n.MissingSingularPlaceholders"/>
9+
<exclude name="Squiz.PHP.DisallowMultipleAssignments"/>
10+
<exclude name="WordPress.WP.I18n"/>
1311

1412
<!-- These sniffs are replaced with our own versions -->
1513
<exclude name="Generic.Files.LowercasedFilename"/>
@@ -48,5 +46,4 @@
4846
<exclude name="Squiz.Commenting.FileComment"/>
4947
</rule>
5048
<rule ref="WordPress-Extra"/>
51-
<rule ref="WordPress-VIP"/>
5249
</ruleset>

wpcs/WordPress/Sniffs/Classes/ClassOpeningStatementSniff.php

-137
This file was deleted.

wpcs/WordPress/Sniffs/Classes/ValidClassNameSniff.php

-75
This file was deleted.

0 commit comments

Comments
 (0)