- Fix mixed tab/space indentation on phpcs:disable/enable comment lines - Exclude PHPMD Superglobals rule: WordPress plugins legitimately use $_GET in testing branches with filter_input() for production; the rule produces false positives in this pattern - All other findings (wp_unslash, comment punctuation, else clause) were already addressed in prior commits on main
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
<exclude name="CamelCaseMethodName" />
|
||||
<exclude name="CamelCaseParameterName" />
|
||||
<exclude name="CamelCaseVariableName" />
|
||||
<!-- WordPress plugins use filter_input() for production and $_GET for testing; Superglobals rule is not applicable. -->
|
||||
<exclude name="Superglobals" />
|
||||
</rule>
|
||||
<rule ref="rulesets/design.xml" />
|
||||
<rule ref="rulesets/naming.xml">
|
||||
|
||||
Reference in New Issue
Block a user