Skip to content

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

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

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

Triggered via pull request February 15, 2024 18:17
@vjikvjik
synchronize #86
psalm
Status Success
Total duration 1m 5s
Artifacts

mutation.yml

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

Annotations

1 warning
mutation / PHP 8.1-ubuntu-latest: src/Helpers/DefinitionValidator.php#L194
Escaped Mutant for Mutator "LogicalOr": --- Original +++ New @@ @@ { $parsedKey = substr($key, 0, -2); if (!$classReflection->hasMethod($parsedKey)) { - if ($classReflection->hasMethod('__call') || $classReflection->hasMethod('__callStatic')) { + if ($classReflection->hasMethod('__call') && $classReflection->hasMethod('__callStatic')) { /** * Magic method may intercept the call, but reflection does not know about it. */