Skip to content

Fix crush when intersection types used + Fix psalm + Kill mutants #663

Fix crush when intersection types used + Fix psalm + Kill mutants

Fix crush when intersection types used + Fix psalm + Kill mutants #663

Triggered via pull request February 15, 2024 19:12
@vjikvjik
synchronize #86
psalm
Status Failure
Total duration 1m 10s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
mutation / PHP 8.1-ubuntu-latest
Process completed with exit code 1.
mutation / PHP 8.1-ubuntu-latest: src/DefinitionStorage.php#L160
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ $unionTypes = []; foreach ($type->getTypes() as $unionType) { if ($unionType instanceof ReflectionIntersectionType || $unionType->isBuiltin()) { - continue; + break; } $typeName = $unionType->getName(); /**
mutation / PHP 8.1-ubuntu-latest: src/ParameterDefinition.php#L157
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ $class = implode('|', $types); foreach ($types as $type) { if ($type instanceof ReflectionIntersectionType || $type->isBuiltin()) { - continue; + break; } $typeName = $type->getName(); /**