Skip to content

Commit 68cb7bc

Browse files
committed
another rule to exclude
1 parent 194f37f commit 68cb7bc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

codeat.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,14 @@
111111
<exclude name="WordPress.CSRF.NonceVerification.NoNonceVerification" />
112112
<exclude name="WordPress.Classes.ClassInstantiation.MissingParenthesis" />
113113
</rule>
114-
<rule ref="WordPress.PHP.StrictInArray" />
115-
<rule ref="WordPress.DB.PreparedSQLPlaceholders" />
116-
<rule ref="WordPress.CodeAnalysis.EmptyStatement" />
117114
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall" />
118115
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement" />
116+
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod.Found">
117+
<severity>0</severity>
118+
</rule>
119+
<rule ref="WordPress.CodeAnalysis.EmptyStatement" />
120+
<rule ref="WordPress.PHP.StrictInArray" />
121+
<rule ref="WordPress.DB.PreparedSQLPlaceholders" />
119122
<rule ref="WordPress.DB.RestrictedFunctions" />
120123
<rule ref="WordPress.DB.RestrictedClasses" />
121124
<rule ref="WordPress.PHP.DevelopmentFunctions" />

0 commit comments

Comments
 (0)