Skip to content

Fix GenerateFixturesCommand: replace getDefaultName() with #[AsComman… #1582

Fix GenerateFixturesCommand: replace getDefaultName() with #[AsComman…

Fix GenerateFixturesCommand: replace getDefaultName() with #[AsComman… #1582

Triggered via push June 26, 2026 21:47
Status Failure
Total duration 5m 42s
Artifacts 8

ci.yml

on: push
Matrix: behat-lowest-deps
Matrix: behat-symfony-next
Matrix: behat
Matrix: php-cs-fixer
Matrix: phpunit-lowest-deps
Matrix: phpunit-symfony-next
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 19 warnings
PHPUnit (Symfony NEXT 8.2) (PHP 8.5)
Process completed with exit code 1.
PHPUnit (Symfony 7.4) (PHP 8.5)
Process completed with exit code 1.
Behat (Symfony 7.4) (PHP 8.5)
Process completed with exit code 255.
PHP-CS-Fixer (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHPUnit (Symfony ^7.4) (PHP 8.5) (lowest dependencies)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHPUnit (Symfony NEXT 8.2) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHPUnit (Symfony 8.1) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHPUnit (Symfony 7.4) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4, codecov/codecov-action@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHPUnit (Symfony 7.4) (PHP 8.5): src/Command/GenerateFixturesCommand.php#L81
Escaped Mutant for Mutator "LogicalOr": @@ @@ $body .= $this->emitLayout($layout); } foreach ($pages as $page) { - if (null !== $page->getParentPage() || null !== $page->getParentPageData()) { + if (null !== $page->getParentPage() && null !== $page->getParentPageData()) { continue; } $body .= $this->emitPage($page, $childPagesByParent, $childPageDataByParent);
PHPUnit (Symfony 7.4) (PHP 8.5): src/Command/GenerateFixturesCommand.php#L77
Escaped Mutant for Mutator "Assignment": @@ @@ } $body = ''; foreach ($layouts as $layout) { - $body .= $this->emitLayout($layout); + $body = $this->emitLayout($layout); } foreach ($pages as $page) { if (null !== $page->getParentPage() || null !== $page->getParentPageData()) {
PHPUnit (Symfony 7.4) (PHP 8.5): src/Command/GenerateFixturesCommand.php#L68
Escaped Mutant for Mutator "Coalesce": @@ @@ } $childPageDataByParent = []; foreach ($allPageData as $pd) { - $parent = $pd->getParentPageData() ?? $pd->getParentPage(); + $parent = $pd->getParentPage() ?? $pd->getParentPageData(); if (null !== $parent) { $childPageDataByParent[spl_object_id($parent)][] = $pd; }
PHPUnit (Symfony 7.4) (PHP 8.5): src/Command/GenerateFixturesCommand.php#L67
Escaped Mutant for Mutator "Foreach_": @@ @@ } } $childPageDataByParent = []; - foreach ($allPageData as $pd) { + foreach ([] as $pd) { $parent = $pd->getParentPageData() ?? $pd->getParentPage(); if (null !== $parent) { $childPageDataByParent[spl_object_id($parent)][] = $pd;
PHPUnit (Symfony 7.4) (PHP 8.5): src/Command/GenerateFixturesCommand.php#L60
Escaped Mutant for Mutator "Coalesce": @@ @@ $allPageData = $this->registry->getRepository(AbstractPageData::class)->findAll(); $childPagesByParent = []; foreach ($pages as $page) { - $parent = $page->getParentPageData() ?? $page->getParentPage(); + $parent = $page->getParentPage() ?? $page->getParentPageData(); if (null !== $parent) { $childPagesByParent[spl_object_id($parent)][] = $page; }
PHPUnit (Symfony 7.4) (PHP 8.5): src/Command/GenerateFixturesCommand.php#L52
Escaped Mutant for Mutator "DecrementInteger": @@ @@ /** @var string $outputPath */ $outputPath = $input->getOption('output'); $this->useClasses = []; - $this->compCounter = 0; + $this->compCounter = -1; $layouts = $this->registry->getRepository(Layout::class)->findAll(); $pages = $this->registry->getRepository(Page::class)->findAll(); $allPageData = $this->registry->getRepository(AbstractPageData::class)->findAll();
PHPUnit (Symfony 7.4) (PHP 8.5): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L77
Escaped Mutant for Mutator "SpreadAssignment": @@ @@ * @var Operation $oldOperation */ foreach ($oldOperations as $key => $oldOperation) { - $subRoutePrefixParts = [...$routePrefixParts]; + $subRoutePrefixParts = $routePrefixParts; if ($currentRoutePrefix = $oldOperation->getRoutePrefix()) { $subRoutePrefixParts[] = trim($currentRoutePrefix, '/'); $subRoutePrefix = '/' . implode('/', $subRoutePrefixParts);
PHPUnit (Symfony 7.4) (PHP 8.5): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L77
Escaped Mutant for Mutator "SpreadOneItem": @@ @@ * @var Operation $oldOperation */ foreach ($oldOperations as $key => $oldOperation) { - $subRoutePrefixParts = [...$routePrefixParts]; + $subRoutePrefixParts = [[...$routePrefixParts][0]]; if ($currentRoutePrefix = $oldOperation->getRoutePrefix()) { $subRoutePrefixParts[] = trim($currentRoutePrefix, '/'); $subRoutePrefix = '/' . implode('/', $subRoutePrefixParts);
PHPUnit (Symfony 7.4) (PHP 8.5): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L64
Escaped Mutant for Mutator "SpreadAssignment": @@ @@ $resources = []; /** @var ApiResource $resourceMetadatum */ foreach ($resourceMetadata as $i => $resourceMetadatum) { - $finalRoutePrefixParts = [...$routePrefixParts]; + $finalRoutePrefixParts = $routePrefixParts; if ($currentRoutePrefix = $resourceMetadatum->getRoutePrefix()) { $finalRoutePrefixParts[] = trim($currentRoutePrefix, '/'); }
PHPUnit (Symfony 7.4) (PHP 8.5): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L64
Escaped Mutant for Mutator "SpreadOneItem": @@ @@ $resources = []; /** @var ApiResource $resourceMetadatum */ foreach ($resourceMetadata as $i => $resourceMetadatum) { - $finalRoutePrefixParts = [...$routePrefixParts]; + $finalRoutePrefixParts = [[...$routePrefixParts][0]]; if ($currentRoutePrefix = $resourceMetadatum->getRoutePrefix()) { $finalRoutePrefixParts[] = trim($currentRoutePrefix, '/'); }
Behat (Symfony ^7.4) (PHP 8.5) (lowest dependencies)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Behat (Symfony NEXT 8.2) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Behat (Symfony 8.1) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Behat (Symfony 7.4) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4, codecov/codecov-action@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
behat-logs-php8.5-lowest-deps
8.32 KB
sha256:aaf8da850a78bc2b454420e7ad381daf96f1b526e7f1d64877a48d4f9dfa8225
behat-logs-php8.5-symfony7.4
11.4 KB
sha256:0ff954ff49cd7911eaeefdbf8fdde773aecf0e1b48a4c6346c73554e53b47b56
behat-logs-php8.5-symfony8.1
11.3 KB
sha256:823532619a06f2916249c463d3b3febdf57532989172d96eed5de68496658d4d
behat-logs-php8.5-symfony8.2
11.3 KB
sha256:3d79ba562c08343d208d5871f229b89f599ecba4e511db1e495586e0dffc7739
phpunit-logs-php8.5-lowest-deps
13.7 KB
sha256:73f1a43bc456dafee465f47eed8fa4345e7adf93925ebf867482f35f88686a73
phpunit-logs-php8.5-symfony7.4
849 KB
sha256:8a5627d68729e2868d4337b35d6a54b8629b52ac5a8e04f38c8f93c7c6c11984
phpunit-logs-php8.5-symfony8.1
13.8 KB
sha256:75e68ca89f06a28744e61b5292460bad04f30993f7da2ed4169cbd4503ba5213
phpunit-logs-php8.5-symfony8.2
13.7 KB
sha256:267e5fe2d9cdfc9cd5d32e7df1d77f683cf3d0b781ca4455dce545c552d9ad5a