8000 Merge branch '5.0' · symfony/symfony@1db7005 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1db7005

Browse files
Merge branch '5.0'
* 5.0: [Bridge/PhpUnit] fix compat with recent versions of phpunit
2 parents 32f2374 + 29e5222 commit 1db7005

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@
1616
use Symfony\Bridge\PhpUnit\DeprecationErrorHandler;
1717
use Symfony\Bridge\PhpUnit\DeprecationErrorHandler\Deprecation;
1818
use Symfony\Bridge\PhpUnit\Legacy\SymfonyTestsListenerForV5;
19+
use Symfony\Bridge\PhpUnit\SetUpTearDownTrait;
1920

2021
class DeprecationTest extends TestCase
2122
{
23+
use SetUpTearDownTrait;
24+
2225
private static $vendorDir;
2326

2427
private static function getVendorDir()
@@ -275,7 +278,7 @@ private static function removeDir($dir)
275278
rmdir($dir);
276279
}
277280

278-
public static function tearDownAfterClass()
281+
private static function doTearDownAfterClass()
279282
{
280283
self::removeDir(self::getVendorDir().'/myfakevendor');
281284
}

0 commit comments

Comments
 (0)
0