Merge pull request #201 from components-web-app/feat/200-cache-safety… #1589
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
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 ^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):
src/AttributeReader/UploadableAttributeReader.php#L74
Escaped Mutant for Mutator "LogicalAnd":
@@ @@
}
/** @var UploadableField $attribute */
$attribute = $attributes[0]->newInstance();
- if (!$this->imagineBundleEnabled && null !== $attribute->imagineFilters && \count($attribute->imagineFilters)) {
+ if ((!$this->imagineBundleEnabled || null !== $attribute->imagineFilters) && \count($attribute->imagineFilters)) {
throw new BadMethodCallException(\sprintf('LiipImagineBundle is not enabled/installed so you should not configure Imagine filters on %s::$%s', $property->class, $property->getName()));
}
return $attribute;
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/AttributeReader/UploadableAttributeReader.php#L74
Escaped Mutant for Mutator "NotIdentical":
@@ @@
}
/** @var UploadableField $attribute */
$attribute = $attributes[0]->newInstance();
- if (!$this->imagineBundleEnabled && null !== $attribute->imagineFilters && \count($attribute->imagineFilters)) {
+ if (!$this->imagineBundleEnabled && null === $attribute->imagineFilters && \count($attribute->imagineFilters)) {
throw new BadMethodCallException(\sprintf('LiipImagineBundle is not enabled/installed so you should not configure Imagine filters on %s::$%s', $property->class, $property->getName()));
}
return $attribute;
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/AttributeReader/UploadableAttributeReader.php#L74
Escaped Mutant for Mutator "LogicalNot":
@@ @@
}
/** @var UploadableField $attribute */
$attribute = $attributes[0]->newInstance();
- if (!$this->imagineBundleEnabled && null !== $attribute->imagineFilters && \count($attribute->imagineFilters)) {
+ if ($this->imagineBundleEnabled && null !== $attribute->imagineFilters && \count($attribute->imagineFilters)) {
throw new BadMethodCallException(\sprintf('LiipImagineBundle is not enabled/installed so you should not configure Imagine filters on %s::$%s', $property->class, $property->getName()));
}
return $attribute;
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/AttributeReader/UploadableAttributeReader.php#L32
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function __construct(ManagerRegistry $managerRegistry, bool $imagineBundleEnabled)
{
$this->imagineBundleEnabled = $imagineBundleEnabled;
- parent::__construct($managerRegistry);
+
}
public function isConfigured(object|string $class): bool
{
|
|
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 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/
|
|
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/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
behat-logs-php8.5-lowest-deps
|
8.67 KB |
sha256:81ea47531e3d5b0df7c97cd9ecf410100501c452c1ca4b7a3d5bcecb23fe5bf4
|
|
|
behat-logs-php8.5-symfony7.4
|
11.9 KB |
sha256:16d8d1846d43d8ce47bf00af3e5bffdd1f9649f387a52752d719a5fc2b623950
|
|
|
behat-logs-php8.5-symfony8.1
|
11.9 KB |
sha256:ee9f5574132b8c035af969a96486ef784208c7a6f45ed1a920519f7df4cd64fa
|
|
|
behat-logs-php8.5-symfony8.2
|
11.8 KB |
sha256:805cdda97ea3cb1fd8bdffc505442bc03ab0e79498a812500779daed92350fcf
|
|
|
phpunit-logs-php8.5-lowest-deps
|
15.4 KB |
sha256:5c2687aaa61c55f25b17866858407a52467bf88f4d027f37d69aac01de5d61d4
|
|
|
phpunit-logs-php8.5-symfony7.4
|
894 KB |
sha256:9c1cba8af37fd047aeaa7243bad702d4a57b3bf3efc33799f47fedfd82c5c4f9
|
|
|
phpunit-logs-php8.5-symfony8.1
|
15.6 KB |
sha256:8e8c562b774c961b0b4a7e7ad722b3becb0be3f16ab83e8d45bbc837433c5084
|
|
|
phpunit-logs-php8.5-symfony8.2
|
15.5 KB |
sha256:0bbe8542fc0d992558bea177cc2e79451e8f5fcdefa3a3d319340a466eba82ea
|
|