Skip to content

Commit 00cc5a7

Browse files
committed
Merge branch '5.2' into 5.3
* 5.2: Reapply the change to allow to set the composer binary path [DependencyInjection] throw proper exception when decorating a synthetic service [WebLink] Sync type with parent interface [WebLink] fix types on Link::withAttribute() [ErrorHandler][DebugClassLoader] Do not check Phake mocks classes
2 parents 0e6768b + dc6dd02 commit 00cc5a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DebugClassLoader.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Doctrine\Common\Persistence\Proxy as LegacyProxy;
1616
use Doctrine\Persistence\Proxy;
1717
use Mockery\MockInterface;
18+
use Phake\IMock;
1819
use PHPUnit\Framework\MockObject\Matcher\StatelessInvocation;
1920
use PHPUnit\Framework\MockObject\MockObject;
2021
use Prophecy\Prophecy\ProphecySubjectInterface;
@@ -310,6 +311,7 @@ public static function checkClasses(): bool
310311
&& !is_subclass_of($symbols[$i], ProxyInterface::class)
311312
&& !is_subclass_of($symbols[$i], LegacyProxy::class)
312313
&& !is_subclass_of($symbols[$i], MockInterface::class)
314+
&& !is_subclass_of($symbols[$i], IMock::class)
313315
) {
314316
$loader->checkClass($symbols[$i]);
315317
}

0 commit comments

Comments
 (0)