mirror of
https://github.com/WordPress/WordPress-Coding-Standards.git
synced 2025-08-30 03:11:24 +08:00
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:
commit
1ddc654d57
1 changed files with 1 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue