Skip to content

Commit 457137c

Browse files
committed
feat: add Pear's function missing docblock sniff.
This allows phpcs to error when a function is missing a docblock.
1 parent 1c5a0ce commit 457137c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

yCodeTech/ruleset.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,7 @@
100100

101101
<!-- @param tag missing for the function parameter. -->
102102
<rule ref="Squiz.Commenting.FunctionComment.MissingParamTag"/>
103+
104+
<!-- Function docblock is missing. -->
105+
<rule ref="PEAR.Commenting.FunctionComment.Missing"/>
103106
</ruleset>

0 commit comments

Comments
 (0)