1212namespace Symfony \Component \Filesystem \Tests ;
1313
1414use PHPUnit \Framework \TestCase ;
15- use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
1615use Symfony \Component \Filesystem \Filesystem ;
1716
1817class FilesystemTestCase extends TestCase
1918{
20- use ForwardCompatTestTrait;
21-
2219 private $ umask ;
2320
2421 protected $ longPathNamesWindows = [];
@@ -43,7 +40,7 @@ class FilesystemTestCase extends TestCase
4340 */
4441 private static $ symlinkOnWindows = null ;
4542
46- private static function doSetUpBeforeClass ()
43+ public static function setUpBeforeClass ()
4744 {
4845 if ('\\' === \DIRECTORY_SEPARATOR ) {
4946 self ::$ linkOnWindows = true ;
@@ -72,7 +69,7 @@ private static function doSetUpBeforeClass()
7269 }
7370 }
7471
75- private function doSetUp ()
72+ protected function setUp ()
7673 {
7774 $ this ->umask = umask (0 );
7875 $ this ->filesystem = new Filesystem ();
@@ -81,7 +78,7 @@ private function doSetUp()
8178 $ this ->workspace = realpath ($ this ->workspace );
8279 }
8380
84- private function doTearDown ()
81+ protected function tearDown ()
8582 {
8683 if (!empty ($ this ->longPathNamesWindows )) {
8784 foreach ($ this ->longPathNamesWindows as $ path ) {
0 commit comments