Restore pipeline: CacheHeadersEventListener unit tests + CS fixes #1590
ci.yml
on: pull_request
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
4 errors and 19 warnings
|
PHP-CS-Fixer (PHP 8.5)
Process completed with exit code 8.
|
|
PHPUnit (Symfony NEXT 8.2) (PHP 8.5)
Process completed with exit code 1.
|
|
PHPUnit (Symfony 7.4) (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 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) (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 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):
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#L123
Escaped Mutant for Mutator "LogicalNot":
@@ @@
{
$attributes = [];
$parentReflection = $reflection->getParentClass();
- while ($parentReflection && !$attributes = $parentReflection->getAttributes($annotationClass)) {
+ while ($parentReflection && $attributes = $parentReflection->getAttributes($annotationClass)) {
$parentReflection = $parentReflection->getParentClass();
}
return $attributes;
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/AttributeReader/AttributeReader.php#L121
Escaped Mutant for Mutator "While_":
@@ @@
{
$attributes = [];
$parentReflection = $reflection->getParentClass();
- while ($parentReflection && !$attributes = $parentReflection->getAttributes($annotationClass)) {
+ while (false) {
$parentReflection = $parentReflection->getParentClass();
}
return $attributes;
|
|
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.79 KB |
sha256:d3ffc3015706a47f3c7fe205127a7f5bfa1bbaf60dbf390629781d7d99afebed
|
|
|
behat-logs-php8.5-symfony7.4
|
12 KB |
sha256:e73f7bd40abe7baec1985f3a6b9c63c8936cf4e03f86aa1ad118d0727226ece6
|
|
|
behat-logs-php8.5-symfony8.1
|
11.9 KB |
sha256:3b766eaee51be9bc82b373a4713a9d99cd440cbf0a8b302f7c5259f4a0458dcf
|
|
|
behat-logs-php8.5-symfony8.2
|
11.9 KB |
sha256:6d3a1e278e6e036a6f8e247885a570cd7cf2746790db956951c3db8aaa8af27c
|
|
|
phpunit-logs-php8.5-lowest-deps
|
15.8 KB |
sha256:1e03aceb97a62b26e730d5a122f6052d6e63d3ec84d65dd644c138131828daa9
|
|
|
phpunit-logs-php8.5-symfony7.4
|
896 KB |
sha256:c62ed70282e9e86df5ef40e94a357bdd3b4ece46d915c9e4cde3cbd5fa1f7e1f
|
|
|
phpunit-logs-php8.5-symfony8.1
|
15.8 KB |
sha256:51f6e497f1c6c8b08d718fbaeb466c3ab40aeda9363de9facf9baec48ae34834
|
|
|
phpunit-logs-php8.5-symfony8.2
|
15.7 KB |
sha256:42050ec87c8509c1bcfd90c47a699e62d607d0a832bb5017b36e675f998e17e2
|
|