Skip to content

Commit

Permalink
Upgrade PHPUnit to 8.5 (php 7.2) and 9.3 (php >= 7.3).
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Sep 14, 2020
1 parent e6e6da2 commit 260a244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Legacy/SymfonyTestsListenerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public function __construct(array $mockedNamespaces = array())
\PHPUnit_Util_Blacklist::$blacklistedClassNames[__CLASS__] = 2;
} elseif (method_exists('PHPUnit\Util\Blacklist', 'addDirectory')) {
eval(" // PHP 5.3 compat
(new BlackList())->getBlacklistedDirectories();
Blacklist::addDirectory(\dirname((new \ReflectionClass(__CLASS__))->getFileName(), 2));
(new \PHPUnit\Util\Blacklist())->getBlacklistedDirectories();
\PHPUnit\Util\Blacklist::addDirectory(\dirname(__FILE__, 2));
");
} else {
Blacklist::$blacklistedClassNames[__CLASS__] = 2;
Expand Down

0 comments on commit 260a244

Please sign in to comment.