Skip to content

Finish upgrade, remove PUT request support by default #1422

Finish upgrade, remove PUT request support by default

Finish upgrade, remove PUT request support by default #1422

Triggered via push September 19, 2025 12:38
Status Failure
Total duration 5m 37s
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

9 errors and 14 warnings
PHP-CS-Fixer (PHP 8.4)
Process completed with exit code 8.
PHPUnit (Symfony 7.3) (PHP 8.3)
Process completed with exit code 2.
PHPUnit (Symfony 7.3) (PHP 8.3)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php >=8.4 but your php version (8.3.25) does not satisfy that requirement.
Behat (Symfony 7.3) (PHP 8.3)
Process completed with exit code 2.
Behat (Symfony 7.3) (PHP 8.3)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php >=8.4 but your php version (8.3.25) does not satisfy that requirement.
Behat (Symfony NEXT 7.4) (PHP 8.4)
Process completed with exit code 255.
PHPUnit (Symfony NEXT 7.4) (PHP 8.4)
Process completed with exit code 255.
Behat (Symfony ^7.2) (PHP 8.4) (lowest dependencies)
Process completed with exit code 1.
Behat (Symfony 7.3) (PHP 8.4)
Process completed with exit code 1.
PHPUnit (Symfony 7.3) (PHP 8.3)
No files were found with the provided path: build/logs/phpunit. No artifacts will be uploaded.
Behat (Symfony 7.3) (PHP 8.3)
No files were found with the provided path: build/logs/behat. 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 NEXT 7.4) (PHP 8.4)
No files were found with the provided path: build/logs/phpunit. 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.27 KB
sha256:802d6ce457a97f087068b69c6b7631e09b943223e533adb94d664f45c9f3bd56
behat-logs-php8.4-lowest-deps Expired
6.89 KB
sha256:728975aab6fb683651c9fc87b4b2b31edcf63528f81f44ce9e5a71f11ad23578
infection-logs-php8.4 Expired
4.09 KB
sha256:0e5680daf74cb0f42540f65bb8cf7efbabce5d0d251770a3edf9d4f8f87afb0b
phpunit-logs-php8.4 Expired
629 KB
sha256:e5b61b44cd9a0f75e9b78b22fe6ea0ea11c7f001547bff9aa8d4667a80a0ceb2
phpunit-logs-php8.4-lowest-deps Expired
3.68 KB
sha256:7ebfb7cd9f17c6640e6a80c616ac066900afee530fe6fee77888f9fb0366dad4