Skip to content

Commit b35cf05

Browse files
committed
Add "WordPressVIPMinimum.Performance.WPQueryParams" rule.
1 parent 857bdbc commit b35cf05

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

WPForms/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
<exclude name="Universal.Arrays.DisallowShortArraySyntax.Found"/>
6464
</rule>
6565

66+
<rule ref="WordPressVIPMinimum.Performance.WPQueryParams"/>
67+
6668
<!-- Re-enable certain sniffs that were disabled by WordPress* standards. -->
6769
<rule ref="Squiz.Commenting.FunctionComment.ParamCommentNotCapital">
6870
<severity>5</severity>

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
}
1313
},
1414
"require": {
15+
"automattic/vipwpcs": "^3.0.1",
1516
"phpcompatibility/php-compatibility": "^9.3.5",
1617
"squizlabs/php_codesniffer": "^3.10.2",
1718
"wp-coding-standards/wpcs": "^3.1.0"

0 commit comments

Comments
 (0)