Skip to content

Commit

Permalink
Don't require //end functionName() at the end of functions/methods. a…
Browse files Browse the repository at this point in the history
…) If your function/method is so long you can't see the end of it, it is probably too long. b) if you use a proper IDE, it highlights these things for you.
  • Loading branch information
Andrea R Soper committed Aug 5, 2016
1 parent b3e78fa commit 5f0dcf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
before the method parameter documentation. -->
<exclude name="Generic.Commenting.DocComment.ParamNotFirst"/>

<!-- Don't require //end functionName() at the end of functions. -->
<exclude name="Squiz.Commenting.ClosingDeclarationComment.Missing"/>

<!-- I'm not sure how to use these tags. -->
<exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingPackageTag"/>
Expand Down

0 comments on commit 5f0dcf3

Please sign in to comment.