File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1212namespace Symfony \Component \Filesystem \Tests ;
1313
1414use PHPUnit \Framework \TestCase ;
15+ use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
1516use Symfony \Component \Filesystem \Filesystem ;
1617
1718class FilesystemTestCase extends TestCase
1819{
20+ use ForwardCompatTestTrait;
21+
1922 private $ umask ;
2023
2124 protected $ longPathNamesWindows = [];
@@ -40,7 +43,7 @@ class FilesystemTestCase extends TestCase
4043 */
4144 private static $ symlinkOnWindows = null ;
4245
43- public static function setUpBeforeClass ()
46+ private static function doSetUpBeforeClass ()
4447 {
4548 if ('\\' === \DIRECTORY_SEPARATOR ) {
4649 self ::$ linkOnWindows = true ;
@@ -69,7 +72,7 @@ public static function setUpBeforeClass()
6972 }
7073 }
7174
72- protected function setUp ()
75+ private function doSetUp ()
7376 {
7477 $ this ->umask = umask (0 );
7578 $ this ->filesystem = new Filesystem ();
@@ -78,7 +81,7 @@ protected function setUp()
7881 $ this ->workspace = realpath ($ this ->workspace );
7982 }
8083
81- protected function tearDown ()
84+ private function doTearDown ()
8285 {
8386 if (!empty ($ this ->longPathNamesWindows )) {
8487 foreach ($ this ->longPathNamesWindows as $ path ) {
You can’t perform that action at this time.
0 commit comments