Skip to content

Commit

Permalink
Enable some previously disabled PHPCS rules (#9324)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Jan 3, 2022
1 parent 44aa8c2 commit 96bc214
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,6 @@
<exclude-pattern>lib/Doctrine/ORM/Cache/DefaultQueryCache.php</exclude-pattern>
</rule>

<rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment">
<!-- Workaround for https://github.com/slevomat/coding-standard/issues/1233 -->
<exclude-pattern>lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php</exclude-pattern>
</rule>

<rule ref="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming">
<exclude-pattern>lib/Doctrine/ORM/EntityManagerInterface.php</exclude-pattern>
</rule>
Expand Down Expand Up @@ -265,14 +260,6 @@
<exclude-pattern>tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1843Test.php</exclude-pattern>
</rule>

<rule ref="PSR2.ControlStructures.SwitchDeclaration.TerminatingComment">
<!--
Remove when upgrading to squizlabs/php_codesniffer 3.6.0
https://github.com/squizlabs/PHP_CodeSniffer/pull/3186
-->
<exclude-pattern>lib/Doctrine/ORM/Query/Parser.php</exclude-pattern>
</rule>

<rule ref="Generic.CodeAnalysis.EmptyStatement.DetectedElse">
<!-- The missing code needs to be implemented someday -->
<exclude-pattern>lib/Doctrine/ORM/Id/TableGenerator.php</exclude-pattern>
Expand Down

0 comments on commit 96bc214

Please sign in to comment.