Skip to content

Commit

Permalink
Ignore rule about lone comment
Browse files Browse the repository at this point in the history
That comment is mistaken for a method comment because it precedes one.
The issue was reported but will most likely not be fixed.
  • Loading branch information
greg0ire committed Feb 12, 2021
1 parent 94e8b1d commit 01374ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,9 @@
<rule ref="SlevomatCodingStandard.Classes.UnusedPrivateElements.UnusedMethod">
<exclude-pattern>lib/Doctrine/ORM/Tools/EntityGenerator.php</exclude-pattern>
</rule>

<rule ref="Squiz.Commenting.FunctionComment.WrongStyle">
<!-- https://github.com/squizlabs/PHP_CodeSniffer/issues/1961 -->
<exclude-pattern>tests/Doctrine/Tests/ORM/Query/DeleteSqlGenerationTest.php</exclude-pattern>
</rule>
</ruleset>

0 comments on commit 01374ca

Please sign in to comment.