Merge pull request #204 from components-web-app/fix/formtype-test-php… #1596
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
2 errors and 20 warnings
|
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 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 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 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.8 KB |
sha256:74cc9526f822ee2ca049759b94d38ea05a0a2a9fad97bbb8f4f8a98e846ea6e8
|
|
|
behat-logs-php8.5-symfony7.4
|
12 KB |
sha256:5a21063ba0ede42a0e541123e1906d15a2322cdc95a68fdb276908dd5e7587ed
|
|
|
behat-logs-php8.5-symfony8.1
|
11.9 KB |
sha256:6bfa161b6cbd7a6b47bf2dcae88c2e38915b78447cb3406b6b79534d8836359e
|
|
|
behat-logs-php8.5-symfony8.2
|
11.9 KB |
sha256:24dc6172258d53c904c561851ffaddf7c501a6350ad925c77c2176baf2881a2d
|
|
|
phpunit-logs-php8.5-lowest-deps
|
16.5 KB |
sha256:ebe411478eb8b537f7275c658a67d7412b5be5123ab4dc9d66a4dacc973bb5da
|
|
|
phpunit-logs-php8.5-symfony7.4
|
899 KB |
sha256:469a1c83587df12da6a117e789e2b39e6421eeb1b48776c8ca1b14a7fa3cea64
|
|
|
phpunit-logs-php8.5-symfony8.1
|
16.6 KB |
sha256:0d5f886ae837eb662dd48b36a82b99f92c8cbe647f774f50f8ea2e50d1482a1b
|
|
|
phpunit-logs-php8.5-symfony8.2
|
16.5 KB |
sha256:8c2c2edf718378a52a6fd607816003debb10b69ddee6a9af81db899d4f8ccd3f
|
|