Skip to content

Commit 96bc214

Browse files
authored
Enable some previously disabled PHPCS rules (#9324)
1 parent 44aa8c2 commit 96bc214

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

phpcs.xml.dist

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,6 @@
134134
<exclude-pattern>lib/Doctrine/ORM/Cache/DefaultQueryCache.php</exclude-pattern>
135135
</rule>
136136

137-
<rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment">
138-
<!-- Workaround for https://github.com/slevomat/coding-standard/issues/1233 -->
139-
<exclude-pattern>lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php</exclude-pattern>
140-
</rule>
141-
142137
<rule ref="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming">
143138
<exclude-pattern>lib/Doctrine/ORM/EntityManagerInterface.php</exclude-pattern>
144139
</rule>
@@ -265,14 +260,6 @@
265260
<exclude-pattern>tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1843Test.php</exclude-pattern>
266261
</rule>
267262

268-
<rule ref="PSR2.ControlStructures.SwitchDeclaration.TerminatingComment">
269-
<!--
270-
Remove when upgrading to squizlabs/php_codesniffer 3.6.0
271-
https://github.com/squizlabs/PHP_CodeSniffer/pull/3186
272-
-->
273-
<exclude-pattern>lib/Doctrine/ORM/Query/Parser.php</exclude-pattern>
274-
</rule>
275-
276263
<rule ref="Generic.CodeAnalysis.EmptyStatement.DetectedElse">
277264
<!-- The missing code needs to be implemented someday -->
278265
<exclude-pattern>lib/Doctrine/ORM/Id/TableGenerator.php</exclude-pattern>

0 commit comments

Comments
 (0)