File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/Symfony/Bridge/PhpUnit/Legacy Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,10 @@ public function __construct(array $mockedNamespaces = array())
47
47
{
48
48
if (class_exists ('PHPUnit_Util_Blacklist ' )) {
49
49
\PHPUnit_Util_Blacklist::
71BB
$ blacklistedClassNames ['\Symfony\Bridge\PhpUnit\Legacy\SymfonyTestsListenerTrait ' ] = 2 ;
50
- } elseif (method_exists (Blacklist::class, 'addDirectory ' )) {
51
- Blacklist::addDirectory ('\Symfony\Bridge\PhpUnit\Legacy\SymfonyTestsListenerTrait ' );
52
50
} elseif (class_exists (Blacklist::class)) {
51
+ $ className = '\Symfony\Bridge\PhpUnit\Legacy\SymfonyTestsListenerTrait ' ;
53
52
if (method_exists (Blacklist::class, 'addDirectory ' )) {
54
- Blacklist::addDirectory ($ className );
53
+ Blacklist::addDirectory (__ );
55
54
} else {
56
55
Blacklist::$ blacklistedClassNames [$ className ] = 2 ;
57
56
}
You can’t perform that action at this time.
0 commit comments