Skip to content

Add wither methods, static constructors, and default constants to immutable entity objects #9

Add wither methods, static constructors, and default constants to immutable entity objects

Add wither methods, static constructors, and default constants to immutable entity objects #9

Re-run triggered December 9, 2025 12:09
Status Success
Total duration 2m 26s
Artifacts

ci.yml

on: pull_request
Matrix: Benchmarks
Matrix: Coding Standards
Matrix: Lint composer.json
Matrix: Static Analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
Tests (ubuntu-latest, 8.4, pcov)
Process completed with exit code 1.
Tests (ubuntu-latest, 8.4, pcov): src/Common/Entity/Style/Border.php#L62
Escaped Mutant for Mutator "UnwrapArrayValues": @@ @@ foreach ($borderParts as $borderPart) { $parts[$borderPart->name->value] = $borderPart; } - return new self(...array_values($parts)); + return new self(...$parts); } }
Tests (ubuntu-latest, 8.4, pcov): src/Common/Entity/Style/Border.php#L52
Escaped Mutant for Mutator "UnwrapArrayValues": @@ @@ { $parts = $this->parts; unset($parts[$name->value]); - return new self(...array_values($parts)); + return new self(...$parts); } public function withBorderParts(BorderPart ...$borderParts): self {
Tests (ubuntu-latest, 8.4, pcov): src/Common/Entity/Style/Border.php#L44
Escaped Mutant for Mutator "UnwrapArrayValues": @@ @@ { $parts = $this->parts; $parts[$borderPart->name->value] = $borderPart; - return new self(...array_values($parts)); + return new self(...$parts); } public function withoutBorder(BorderName $name): self {