File tree 1 file changed +2
-0
lines changed
src/Symfony/Component/ErrorHandler
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 18
18
use Phake \IMock ;
19
19
use PHPUnit \Framework \MockObject \Matcher \StatelessInvocation ;
20
20
use PHPUnit \Framework \MockObject \MockObject ;
21
+ use PHPUnit \Framework \MockObject \Stub ;
21
22
use Prophecy \Prophecy \ProphecySubjectInterface ;
22
23
use ProxyManager \Proxy \ProxyInterface ;
23
24
use Symfony \Component \DependencyInjection \Argument \LazyClosure ;
@@ -253,6 +254,7 @@ public static function checkClasses(): bool
253
254
254
255
for (; $ i < \count ($ symbols ); ++$ i ) {
255
256
if (!is_subclass_of ($ symbols [$ i ], MockObject::class)
257
+ && !is_subclass_of ($ symbols [$ i ], Stub::class)
256
258
&& !is_subclass_of ($ symbols [$ i ], ProphecySubjectInterface::class)
257
259
&& !is_subclass_of ($ symbols [$ i ], Proxy::class)
258
260
&& !is_subclass_of ($ symbols [$ i ], ProxyInterface::class)
You can’t perform that action at this time.
0 commit comments