Skip to content

Commit 1ddc654

Browse files
authored
Merge pull request #1657 from WordPress-Coding-Standards/feature/docs-generic-specificity
Docs: make the inclusion of the Generic sniff slightly more specific
2 parents 56be671 + d30d22f commit 1ddc654

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

WordPress-Docs/ruleset.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<exclude name="Squiz.Commenting.VariableComment.VarOrder"/>
8989
</rule>
9090

91-
<rule ref="Generic.Commenting">
91+
<rule ref="Generic.Commenting.DocComment">
9292
<!-- WP has different alignment of tag values -->
9393
<exclude name="Generic.Commenting.DocComment.TagValueIndent"/>
9494
<!-- WP has a different prefered order of tags -->
@@ -105,8 +105,5 @@
105105
<exclude name="Generic.Commenting.DocComment.SpacingBeforeShort"/>
106106
<!-- Exclude to allow duplicate hooks to be documented -->
107107
<exclude name="Generic.Commenting.DocComment.ContentBeforeClose"/>
108-
109-
<!-- WP allows @todo's in comments -->
110-
<exclude name="Generic.Commenting.Todo"/>
111108
</rule>
112109
</ruleset>

0 commit comments

Comments
 (0)