Skip to content

Commit 102be5e

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: Review validator-related japanese translations with ids 114-120 don't trigger "internal" deprecations for PHPUnit Stub objects drop comments while lexing unquoted strings
2 parents aabf799 + aa3bcf4 commit 102be5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DebugClassLoader.php

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use Phake\IMock;
1919
use PHPUnit\Framework\MockObject\Matcher\StatelessInvocation;
2020
use PHPUnit\Framework\MockObject\MockObject;
21+
use PHPUnit\Framework\MockObject\Stub;
2122
use Prophecy\Prophecy\ProphecySubjectInterface;
2223
use ProxyManager\Proxy\ProxyInterface;
2324
use Symfony\Component\DependencyInjection\Argument\LazyClosure;
@@ -257,6 +258,7 @@ public static function checkClasses(): bool
257258

258259
for (; $i < \count($symbols); ++$i) {
259260
if (!is_subclass_of($symbols[$i], MockObject::class)
261+
&& !is_subclass_of($symbols[$i], Stub::class)
260262
&& !is_subclass_of($symbols[$i], ProphecySubjectInterface::class)
261263
&& !is_subclass_of($symbols[$i], Proxy::class)
262264
&& !is_subclass_of($symbols[$i], ProxyInterface::class)

0 commit comments

Comments
 (0)