File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \Filesystem \Tests ;
1313
14+ use Symfony \Component \Filesystem \Exception \InvalidArgumentException ;
1415use Symfony \Component \Filesystem \Exception \IOException ;
1516
1617/**
@@ -1150,14 +1151,14 @@ public function providePathsForMakePathRelative()
11501151
11511152 public function testMakePathRelativeWithRelativeStartPath ()
11521153 {
1153- $ this ->expectException (\ Symfony \ Component \ Filesystem \ Exception \ InvalidArgumentException::class);
1154+ $ this ->expectException (InvalidArgumentException::class);
11541155 $ this ->expectExceptionMessage ('The start path "var/lib/symfony/src/Symfony/Component" is not absolute. ' );
11551156 $ this ->assertSame ('../../../ ' , $ this ->filesystem ->makePathRelative ('/var/lib/symfony/ ' , 'var/lib/symfony/src/Symfony/Component ' ));
11561157 }
11571158
11581159 public function testMakePathRelativeWithRelativeEndPath ()
11591160 {
1160- $ this ->expectException (\ Symfony \ Component \ Filesystem \ Exception \ InvalidArgumentException::class);
1161+ $ this ->expectException (InvalidArgumentException::class);
11611162 $ this ->expectExceptionMessage ('The end path "var/lib/symfony/" is not absolute. ' );
11621163 $ this ->assertSame ('../../../ ' , $ this ->filesystem ->makePathRelative ('var/lib/symfony/ ' , '/var/lib/symfony/src/Symfony/Component ' ));
11631164 }
You can’t perform that action at this time.
0 commit comments