Merge pull request #1657 from WordPress-Coding-Standards/feature/docs-generic-specificity

Docs: make the inclusion of the Generic sniff slightly more specific
This commit is contained in:
Gary Jones 2019-03-07 07:34:37 +00:00 committed by GitHub
commit 1ddc654d57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@
<exclude name="Squiz.Commenting.VariableComment.VarOrder"/>
</rule>
<rule ref="Generic.Commenting">
<rule ref="Generic.Commenting.DocComment">
<!-- WP has different alignment of tag values -->
<exclude name="Generic.Commenting.DocComment.TagValueIndent"/>
<!-- WP has a different prefered order of tags -->
@ -105,8 +105,5 @@
<exclude name="Generic.Commenting.DocComment.SpacingBeforeShort"/>
<!-- Exclude to allow duplicate hooks to be documented -->
<exclude name="Generic.Commenting.DocComment.ContentBeforeClose"/>
<!-- WP allows @todo's in comments -->
<exclude name="Generic.Commenting.Todo"/>
</rule>
</ruleset>