Merge pull request #203 from components-web-app/chore/mutation-gate-a… #1594
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
Annotations
3 errors and 20 warnings
|
PHPUnit (Symfony NEXT 8.2) (PHP 8.5)
Process completed with exit code 2.
|
|
PHPUnit (Symfony NEXT 8.2) (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)
No files were found with the provided path: infection.log. No artifacts will be uploaded.
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/AttributeReader/AttributeReader.php#L142
Escaped Mutant for Mutator "Break_":
@@ @@
foreach ($traits as $trait) {
$attributes = $trait->getAttributes($annotationClass);
if (\count($attributes)) {
- break;
+ continue;
}
}
return $attributes;
}
}
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/AttributeReader/AttributeReader.php#L141
Escaped Mutant for Mutator "IfNegation":
@@ @@
$traits = $reflection->getTraits();
foreach ($traits as $trait) {
$attributes = $trait->getAttributes($annotationClass);
- if (\count($attributes)) {
+ if (!\count($attributes)) {
break;
}
}
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/AttributeReader/AttributeReader.php#L128
Escaped Mutant for Mutator "ArrayOneItem":
@@ @@
while ($parentReflection && !$attributes = $parentReflection->getAttributes($annotationClass)) {
$parentReflection = $parentReflection->getParentClass();
}
- return $attributes;
+ return count($attributes) > 1 ? array_slice($attributes, 0, 1, true) : $attributes;
}
/**
* @return \ReflectionAttribute[]
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/AttributeReader/AttributeReader.php#L109
Escaped Mutant for Mutator "ArrayOneItem":
@@ @@
}
}
}
- return $attributes;
+ return count($attributes) > 1 ? array_slice($attributes, 0, 1, true) : $attributes;
}
/**
* @return \ReflectionAttribute[]
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/AttributeReader/AttributeReader.php#L31
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
private array $configurationCache = [];
public function __construct(ManagerRegistry $managerRegistry)
{
- $this->initRegistry($managerRegistry);
+
}
abstract public function getConfiguration(object|string $class);
public function isConfigured(object|string $class): bool
|
|
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, '/');
}
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/Annotation/UploadableField.php#L32
Escaped Mutant for Mutator "FalseValue":
@@ @@
// When true, a validation constraint is added in the `{ShortName}:published` group requiring
// either the transient file property or its stored filename to be present before the owning
// resource can be published. Configured per field, so multiple fields are independent.
- public bool $requiredOnPublish = false,
+ public bool $requiredOnPublish = true,
// Optional override for the violation message (supports the `{{ property }}` placeholder).
// Null falls back to the constraint's default message.
public ?string $requiredOnPublishMessage = null
|
|
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.77 KB |
sha256:825ad24d21aca33ed00104d78abfcb353a94bf5e6639c6918806134aac42ee7a
|
|
|
behat-logs-php8.5-symfony7.4
|
12 KB |
sha256:da35616eeb36e17dd51d2407ff2c528821ceac5def5954ebd7ee767cc251af7d
|
|
|
behat-logs-php8.5-symfony8.1
|
11.9 KB |
sha256:7bafd89e0bc1a60283be6fe072267f22547831e3cd4c961dba634c32b3af27a3
|
|
|
behat-logs-php8.5-symfony8.2
|
11.9 KB |
sha256:7e2fe65c4e4fbe1b1d0d38f9487555b397519ae8138fbdcfa37728632bcf5d66
|
|
|
phpunit-logs-php8.5-lowest-deps
|
16.6 KB |
sha256:6761c5caf028627084640c3538622e69ed0759ab64696bd7202924f040d35f93
|
|
|
phpunit-logs-php8.5-symfony7.4
|
899 KB |
sha256:ac29eec62236e4d6d3da55fcfa3f67ad0bffdf6d1cdce6f4c32f49f9f303d606
|
|
|
phpunit-logs-php8.5-symfony8.1
|
16.5 KB |
sha256:1ceb043b2e1340663ce448c9220464e389458e98fbd6b2a309de8e2b4314be91
|
|
|
phpunit-logs-php8.5-symfony8.2
|
16.8 KB |
sha256:633c53221c61ae63ca79ed1d76eb0fcc7951693ad4e678f4968583e21e8b7650
|
|