Skip to content

Fix for next release of voters in symfony #1428

Fix for next release of voters in symfony

Fix for next release of voters in symfony #1428

Triggered via push September 19, 2025 12:55
Status Failure
Total duration 5m 24s
Artifacts 5

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 12 warnings
PHPUnit (Symfony NEXT 7.4) (PHP 8.4)
Process completed with exit code 255.
Behat (Symfony NEXT 7.4) (PHP 8.4)
Process completed with exit code 255.
Behat (Symfony 7.3) (PHP 8.4)
Process completed with exit code 1.
PHPUnit (Symfony NEXT 7.4) (PHP 8.4)
No files were found with the provided path: build/logs/phpunit. No artifacts will be uploaded.
Behat (Symfony NEXT 7.4) (PHP 8.4)
No files were found with the provided path: build/logs/behat. No artifacts will be uploaded.
PHPUnit (Symfony 7.3) (PHP 8.4): src/Entity/User/AbstractUser.php#L207
Escaped Mutant for Mutator "IfNegation": @@ @@ public function setPlainPassword(?string $plainPassword): self { $this->plainPassword = $plainPassword; - if ($plainPassword) { + if (!$plainPassword) { // Needs to update mapped field to trigger update event which will encode the plain password $this->passwordUpdatedAt = new \DateTime(); }
PHPUnit (Symfony 7.3) (PHP 8.4): src/Entity/User/AbstractUser.php#L156
Escaped Mutant for Mutator "IfNegation": @@ @@ public function setEmailAddress(?string $emailAddress): self { $this->emailAddress = $emailAddress; - if ($emailAddress) { + if (!$emailAddress) { $this->emailLastUpdatedAt = new \DateTime(); } return $this;
PHPUnit (Symfony 7.3) (PHP 8.4): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L79
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.3) (PHP 8.4): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L79
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.3) (PHP 8.4): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L78
Escaped Mutant for Mutator "Foreach_": @@ @@ * @var string $key * @var Operation $oldOperation */ - foreach ($oldOperations as $key => $oldOperation) { + foreach ([] as $key => $oldOperation) { $subRoutePrefixParts = [...$routePrefixParts]; if ($currentRoutePrefix = $oldOperation->getRoutePrefix()) { $subRoutePrefixParts[] = trim($currentRoutePrefix, '/');
PHPUnit (Symfony 7.3) (PHP 8.4): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L66
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.3) (PHP 8.4): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L66
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, '/'); }
PHPUnit (Symfony 7.3) (PHP 8.4): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L65
Escaped Mutant for Mutator "Foreach_": @@ @@ { $resources = []; /** @var ApiResource $resourceMetadatum */ - foreach ($resourceMetadata as $i => $resourceMetadatum) { + foreach ([] as $i => $resourceMetadatum) { $finalRoutePrefixParts = [...$routePrefixParts]; if ($currentRoutePrefix = $resourceMetadatum->getRoutePrefix()) { $finalRoutePrefixParts[] = trim($currentRoutePrefix, '/');
PHPUnit (Symfony 7.3) (PHP 8.4): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L49
Escaped Mutant for Mutator "IfNegation": @@ @@ // underscores for core resources $reflection = new \ReflectionClass($resourceClass); $namespace = $reflection->getNamespaceName(); - if (preg_match("/Silverback\\\\ApiComponentsBundle\\\\(?!Test)[\\w]+/", $namespace)) { + if (!preg_match("/Silverback\\\\ApiComponentsBundle\\\\(?!Test)[\\w]+/", $namespace)) { $routePrefixParts[] = '_'; } }
PHPUnit (Symfony 7.3) (PHP 8.4): src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L43
Escaped Mutant for Mutator "ElseIfNegation": @@ @@ $routePrefixParts = []; if (is_subclass_of($resourceClass, AbstractComponent::class)) { $routePrefixParts[] = 'component'; - } elseif (is_subclass_of($resourceClass, AbstractPageData::class)) { + } elseif (!is_subclass_of($resourceClass, AbstractPageData::class)) { $routePrefixParts[] = 'page_data'; } else { // underscores for core resources

Artifacts

Produced during runtime
Name Size Digest
behat-logs-php8.4 Expired
9.03 KB
sha256:dbefd0a66550ef2e1fea14949a9730217012f0223195377bb77706c11482af20
behat-logs-php8.4-lowest-deps Expired
6.65 KB
sha256:ba2b09cb334170e64778225cf5986fba2393d28f3279fe3620399af368c26693
infection-logs-php8.4 Expired
4.08 KB
sha256:f4445c475463cbb730889a383084485bbce604635d20f10f25168fd673e2ddd8
phpunit-logs-php8.4 Expired
630 KB
sha256:9e1c14f4866994eec71e26248f815d533098517adeb3bc818056b927019e4fe7
phpunit-logs-php8.4-lowest-deps Expired
3.7 KB
sha256:92be0f82184cf1be444054e912df8ea7e276ddd486cb91ca0c542ff7c9033023