Skip to content

Commit 72818a7

Browse files
committed
Extra: remove superfluous directive
The sniff already throws a warning for that error code, so we don't need to change the `type`.
1 parent 1e920a4 commit 72818a7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

WordPress-Extra/ruleset.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@
7676
<rule ref="Squiz.Scope.MemberVarScope"/>
7777
<rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing"/>
7878
<rule ref="PSR2.Methods.MethodDeclaration"/>
79-
<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
80-
<type>warning</type>
81-
</rule>
8279

8380
<!-- Warn against using fully-qualified class names instead of the self keyword. -->
8481
<rule ref="Squiz.Classes.SelfMemberReference.NotUsed">

0 commit comments

Comments
 (0)