Skip to content

Remove with_constructor_extractor #1452

Remove with_constructor_extractor

Remove with_constructor_extractor #1452

Triggered via push February 13, 2026 14:01
Status Failure
Total duration 5m 21s
Artifacts 7

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

4 errors and 10 warnings
PHPUnit (Symfony NEXT 8.0) (PHP 8.4)
Process completed with exit code 1.
Behat (Symfony NEXT 8.0) (PHP 8.4)
Process completed with exit code 1.
Behat (Symfony ^7.4) (PHP 8.4) (lowest dependencies)
Process completed with exit code 1.
Behat (Symfony 7.4) (PHP 8.4)
Process completed with exit code 1.
PHPUnit (Symfony 7.4) (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.4) (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.4) (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.4) (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.4) (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.4) (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.4) (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.4) (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.4) (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.4) (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.73 KB
sha256:980fc8dc4a145a3657584b0ec190b4641f49c816be1a6b30953854aa2bcda6fd
behat-logs-php8.4-lowest-deps Expired
7.27 KB
sha256:9fdf860c42a48c5b11c63b04f74973a5d811cb8d3b5bd77311039205dff0e369
behat-logs-php8.4-symfony8.0 Expired
9.83 KB
sha256:8c9533e9d15f019050e3e3d7752890583a5bb890f33cd9fd1288a37ebf702f12
infection-logs-php8.4 Expired
4.08 KB
sha256:d672254378d947822d1fe01c89a23fa147c118aaa0fcf92141537f85a8bf4a81
phpunit-logs-php8.4 Expired
650 KB
sha256:9482b66e4f28987459005901d1ff224ccac816649fd49388c46f3b8e59694435
phpunit-logs-php8.4-lowest-deps Expired
3.71 KB
sha256:c488e54c26e0275fb27d28944a787fe264764316829a301037b1732935c6ef36
phpunit-logs-php8.4-symfony8.0 Expired
3.69 KB
sha256:d909a29b8488a19b630480593816df402377765d214513ba3b09b9793233276e