Loading core/tests/Drupal/Tests/ComposerIntegrationTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ public function testComposerLockHash() { * * @dataProvider providerTestComposerJson */ public function testComposerTilde($path) { public function testComposerTilde(string $path): void { if (str_ends_with($path, 'composer/Metapackage/CoreRecommended/composer.json')) { $this->markTestSkipped("$path has tilde"); } Loading @@ -78,9 +78,9 @@ public function testComposerTilde($path) { * * @return array */ public function providerTestComposerJson() { public static function providerTestComposerJson(): array { $data = []; $composer_json_finder = $this->getComposerJsonFinder(realpath(__DIR__ . '/../../../../')); $composer_json_finder = self::getComposerJsonFinder(realpath(__DIR__ . '/../../../../')); foreach ($composer_json_finder->getIterator() as $composer_json) { $data[$composer_json->getPathname()] = [$composer_json->getPathname()]; } Loading Loading
core/tests/Drupal/Tests/ComposerIntegrationTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ public function testComposerLockHash() { * * @dataProvider providerTestComposerJson */ public function testComposerTilde($path) { public function testComposerTilde(string $path): void { if (str_ends_with($path, 'composer/Metapackage/CoreRecommended/composer.json')) { $this->markTestSkipped("$path has tilde"); } Loading @@ -78,9 +78,9 @@ public function testComposerTilde($path) { * * @return array */ public function providerTestComposerJson() { public static function providerTestComposerJson(): array { $data = []; $composer_json_finder = $this->getComposerJsonFinder(realpath(__DIR__ . '/../../../../')); $composer_json_finder = self::getComposerJsonFinder(realpath(__DIR__ . '/../../../../')); foreach ($composer_json_finder->getIterator() as $composer_json) { $data[$composer_json->getPathname()] = [$composer_json->getPathname()]; } Loading