Skip to content

Commit ceaefcb

Browse files
authored
Merge 2.10.x into 2.11.x (#9331)
* Enable some previously disabled PHPCS rules (#9324) * Fix broken type declaration (#9330)
2 parents 844ce77 + efc982a commit ceaefcb

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

phpcs.xml.dist

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

130-
<rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment">
131-
<!-- Workaround for https://github.com/slevomat/coding-standard/issues/1233 -->
132-
<exclude-pattern>lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php</exclude-pattern>
133-
</rule>
134-
135130
<rule ref="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming">
136131
<exclude-pattern>lib/Doctrine/ORM/EntityManagerInterface.php</exclude-pattern>
137132
</rule>
@@ -258,14 +253,6 @@
258253
<exclude-pattern>tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1843Test.php</exclude-pattern>
259254
</rule>
260255

261-
<rule ref="PSR2.ControlStructures.SwitchDeclaration.TerminatingComment">
262-
<!--
263-
Remove when upgrading to squizlabs/php_codesniffer 3.6.0
264-
https://github.com/squizlabs/PHP_CodeSniffer/pull/3186
265-
-->
266-
<exclude-pattern>lib/Doctrine/ORM/Query/Parser.php</exclude-pattern>
267-
</rule>
268-
269256
<rule ref="Generic.CodeAnalysis.EmptyStatement.DetectedElse">
270257
<!-- The missing code needs to be implemented someday -->
271258
<exclude-pattern>lib/Doctrine/ORM/Id/TableGenerator.php</exclude-pattern>

tests/Doctrine/Performance/Mock/NonProxyLoadingUnitOfWork.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@
55
namespace Doctrine\Performance\Mock;
66

77
use Doctrine\ORM\UnitOfWork;
8-
use Doctrine\Tests\ORM\Performance\PersisterMock;
98

109
/**
1110
* An unit of work mock that prevents lazy-loading of proxies
1211
*/
1312
class NonProxyLoadingUnitOfWork extends UnitOfWork
1413
{
15-
/** @var PersisterMock */
14+
/** @var NonLoadingPersister */
1615
private $entityPersister;
1716

1817
public function __construct()

0 commit comments

Comments
 (0)