Skip to content

Commit 1fab21b

Browse files
authored
Merge pull request #5 from AtomicSmash/feature/allow-extra-param-docs-for-functions
Allow extra param docs for functions
2 parents 95176f8 + d898a88 commit 1fab21b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.changeset/true-jokes-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"php-coding-standards": minor
3+
---
4+
5+
Allow extra param docs for functions

phpcs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<exclude name="Squiz.Commenting.FileComment.MissingPackageTag"/>
1515
<exclude name="WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound"/>
1616
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar"/>
17+
<exclude name="Squiz.Commenting.FunctionComment.ExtraParamComment"/>
1718
</rule>
1819
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
1920
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>

0 commit comments

Comments
 (0)