Add pageDataClass to ComponentPosition with write-side validation (#170) #1539
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 19 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 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/Entity/Core/Route.php#L126
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation":
@@ @@
}
public function setPath(string $path): self
{
- if ('' !== $path && !str_starts_with($path, '/')) {
+ if (!('' !== $path) && str_starts_with($path, '/')) {
$path = '/' . $path;
}
$this->path = $path;
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/Entity/Core/Route.php#L126
Escaped Mutant for Mutator "NotIdentical":
@@ @@
}
public function setPath(string $path): self
{
- if ('' !== $path && !str_starts_with($path, '/')) {
+ if ('' === $path && !str_starts_with($path, '/')) {
$path = '/' . $path;
}
$this->path = $path;
|
|
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/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@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
|
7.99 KB |
sha256:8855e774fce43078545264451cd0cdcf8d1cb70b35ebf1633ab32645756a2c9f
|
|
|
behat-logs-php8.5-symfony7.4
|
10.9 KB |
sha256:6d0237a62e90b466573d6d05a2368e6f08ce2b9d0bed20d6a0948b510c291b35
|
|
|
behat-logs-php8.5-symfony8.1
|
10.8 KB |
sha256:8bdc04b3697e4fe00023b83174e9f3e2b458913eed6bed0baeaa326604fb5ddd
|
|
|
behat-logs-php8.5-symfony8.2
|
10.8 KB |
sha256:cf47782bdccb95fbe6d8dc845a1fbba831bee82ed583946b7503be41a70542d8
|
|
|
infection-logs-php8.5
|
6.78 KB |
sha256:0f329c78b9fa96ed0bd6e51cfb4618a12cf5d93bdf2e258d973849b32f4226ce
|
|
|
phpunit-logs-php8.5-lowest-deps
|
8.12 KB |
sha256:a7c882ad75407527a558f882a05f4bf11910c34bea100b27e75e7a77ff513778
|
|
|
phpunit-logs-php8.5-symfony7.4
|
757 KB |
sha256:de37f6d1fb1af871789d5077b9ebaef973e5c825dabb6bc465f14cf72094c1ab
|
|
|
phpunit-logs-php8.5-symfony8.1
|
8.17 KB |
sha256:2fc71310f1929e6182aa9c98efc68f20c274a0a16921acfd26741f9d2ec68d84
|
|
|
phpunit-logs-php8.5-symfony8.2
|
8.1 KB |
sha256:5e97c457bde0abe6f91f7846039a193bc5811be9cb3d458f7a63c4740589cbcd
|
|