Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1db7005

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

File tree

1 file changed

+4
-1
lines changed
Filter options

1 file changed

+4
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php
+4-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.