Fix allowedComponents IRI generation to use GetCollection operation #1511
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@v3. 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@v3, actions/checkout@v3, 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@v3, actions/checkout@v3, 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@v3, actions/checkout@v3, 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@v3, actions/checkout@v3, actions/upload-artifact@v4, codecov/codecov-action@v3. 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/Entity/Core/Page.php#L72
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function __construct()
{
$this->componentGroups = new ArrayCollection();
- $this->initComponentGroups();
+
}
public static function loadValidatorMetadata(ClassMetadata $metadata): void
{
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/Entity/Core/Layout.php#L71
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function __construct()
{
$this->componentGroups = new ArrayCollection();
- $this->initComponentGroups();
+
$this->pages = new ArrayCollection();
}
#[ApiProperty(readableLink: false, writableLink: false)]
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/Entity/Core/ComponentGroup.php#L198
Escaped Mutant for Mutator "Identical":
@@ @@
}
public function addAllowedComponent(string $allowedComponent): self
{
- if (null === $this->allowedComponents) {
+ if (null !== $this->allowedComponents) {
$this->allowedComponents = [];
}
$this->allowedComponents[] = $allowedComponent;
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/Entity/Core/ComponentGroup.php#L175
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function addComponentPosition(ComponentPosition $componentPosition): self
{
if (!$this->componentPositions->contains($componentPosition)) {
- $this->componentPositions->add($componentPosition);
+
}
return $this;
}
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/Entity/Core/ComponentGroup.php#L174
Escaped Mutant for Mutator "LogicalNot":
@@ @@
}
public function addComponentPosition(ComponentPosition $componentPosition): self
{
- if (!$this->componentPositions->contains($componentPosition)) {
+ if ($this->componentPositions->contains($componentPosition)) {
$this->componentPositions->add($componentPosition);
}
return $this;
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/Entity/Core/AbstractComponent.php#L50
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function __construct()
{
$this->componentGroups = new ArrayCollection();
- $this->initComponentGroups();
+
$this->componentPositions = new ArrayCollection();
}
public function isPositionRestricted(): 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, '/');
}
|
|
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@v3, actions/checkout@v3, 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@v3, actions/checkout@v3, 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@v3, actions/checkout@v3, 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@v3, actions/checkout@v3, actions/upload-artifact@v4, codecov/codecov-action@v3. 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
|
7.2 KB |
sha256:4cf6914ea7eb75c5180d062a7593ed2f82aec1e12cd28bfefc4bdda8a5b48127
|
|
|
behat-logs-php8.5-symfony7.4
|
9.88 KB |
sha256:75429f1eb8c7c48d5d847a7fbe10b87a6a7c915d75405b0212374b4e196df1e5
|
|
|
behat-logs-php8.5-symfony8.1
|
9.81 KB |
sha256:beef116c19c9e7778ef3b828f03a645bb7ab25df2eae6c5b04adf7bf43269fb0
|
|
|
behat-logs-php8.5-symfony8.2
|
9.77 KB |
sha256:43de0c211e8abfd97bba82c57042209e14b5382f5d3325aaa18142c30adf790f
|
|
|
phpunit-logs-php8.5-lowest-deps
|
5.62 KB |
sha256:478bcdd681edc1cca53565c8e1ffd6087a89d10e45df00c7d5c8698c14c54d4a
|
|
|
phpunit-logs-php8.5-symfony7.4
|
710 KB |
sha256:4b7c6a4ab9353bce47c2a9fddf832ea83e5b0365fc15bf2c6ecd756632bb2e27
|
|
|
phpunit-logs-php8.5-symfony8.1
|
5.68 KB |
sha256:abd92197359e66c1b7fc827635cd11cc80ebcc7b2d8ad3f25638967b86098a8e
|
|
|
phpunit-logs-php8.5-symfony8.2
|
5.62 KB |
sha256:09f129c1e31b9adcd69c8a4412ac4f38300043ddca5649828ef05208a801025c
|
|