diff --git a/tests/Resources/XliffTest.php b/tests/Resources/XliffTest.php index 556fcb3e..be8d674d 100644 --- a/tests/Resources/XliffTest.php +++ b/tests/Resources/XliffTest.php @@ -47,7 +47,7 @@ public function testXliff(string $locale): void /** * @return Generator */ - public function getFiles(): iterable + public static function getFiles(): iterable { $files = glob(sprintf('%s/*.xlf', __DIR__.'/../../src/Resources/translations')); diff --git a/tests/Routing/RoutingTest.php b/tests/Routing/RoutingTest.php index 60688411..6eb61f98 100644 --- a/tests/Routing/RoutingTest.php +++ b/tests/Routing/RoutingTest.php @@ -45,7 +45,7 @@ public function testLoadRouting(string $routeName, string $path, array $methods) /** * @return string[][]|string[][][] */ - public function loadRoutingProvider(): array + public static function loadRoutingProvider(): array { return [ ['nucleos_profile_profile_show', '/profile/', ['GET']],