Skip to content

Commit

Permalink
Prefer partial phpdoc over useless annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Sep 18, 2023
1 parent ea99c85 commit d32b0bd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Nepada/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@
<rule ref="SlevomatCodingStandard.TypeHints.NullTypeHintOnLastPosition"/>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation"/><!-- we don't want partial doc blocks -->
<properties>
<property name="traversableTypeHints" type="array">
<element value="Traversable"/>
Expand All @@ -236,7 +235,6 @@
</properties>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation"/><!-- we don't want partial doc blocks -->
<properties>
<property name="traversableTypeHints" type="array">
<element value="Traversable"/>
Expand Down

0 comments on commit d32b0bd

Please sign in to comment.