diff --git a/Tests/PathTest.php b/Tests/PathTest.php index 2f7a0a7a6..dd12c7845 100644 --- a/Tests/PathTest.php +++ b/Tests/PathTest.php @@ -462,7 +462,7 @@ private static function getPathTests(): \Generator public function provideMakeAbsoluteTests(): \Generator { - yield from static::getPathTests(); + yield from self::getPathTests(); // collapse dots yield ['css/./style.css', '/webmozart/symfony', '/webmozart/symfony/css/style.css']; @@ -589,7 +589,7 @@ public function testMakeAbsoluteDoesNotFailIfDifferentRoot(string $basePath, str public function provideMakeRelativeTests(): \Generator { - foreach (static::getPathTests() as $set) { + foreach (self::getPathTests() as $set) { yield [$set[2], $set[1], $set[0]]; }