Skip to content

single line per error #100

single line per error

single line per error #100

Triggered via push January 28, 2025 14:39
Status Success
Total duration 58s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
PHP 8.3 test on ubuntu-24.04: src/Arguments.php#L284
Escaped Mutant for Mutator "Break_": @@ @@ $this->errors[] = $e->getMessage(); } } - break; + continue; } if ($this->isSkipOptional($name)) { continue;
PHP 8.3 test on ubuntu-24.04: src/Arguments.php#L344
Escaped Mutant for Mutator "LogicalOr": @@ @@ { foreach ($cast as $key => $value) { $key = strval($key); - if (str_contains($key, "\x00") || in_array($key, $this->reflected, true)) { + if (str_contains($key, "\x00") && in_array($key, $this->reflected, true)) { continue; } $array[$key] = $value;
PHP 8.3 test on ubuntu-24.04: src/Parameters.php#L76
Escaped Mutant for Mutator "CloneRemoval": @@ @@ } public function withIsVariadic(bool $flag): ParametersInterface { - $new = clone $this; + $new = $this; $new->isVariadic = $flag; return $new; }
PHP 8.3 test on ubuntu-24.04: src/ReflectionParameterTyped.php#L81
Escaped Mutant for Mutator "InstanceOf_": @@ @@ if ($this->type instanceof ReflectionUnionType) { $types = []; foreach ($this->type->getTypes() as $type) { - if ($type instanceof ReflectionIntersectionType) { + if (false) { continue; } $types[] = $type->getName();
PHP 8.3 test on ubuntu-24.04: src/ReflectionParameterTyped.php#L121
Escaped Mutant for Mutator "InstanceOf_": @@ @@ if (method_exists($reflection, 'getName')) { return $reflection->getName(); } - if ($reflection instanceof ReflectionUnionType) { + if (true) { $types = []; foreach ($reflection->getTypes() as $type) { $types[] = $this->getTypeHint($type);
PHP 8.2 test on ubuntu-24.04: src/Arguments.php#L284
Escaped Mutant for Mutator "Break_": @@ @@ $this->errors[] = $e->getMessage(); } } - break; + continue; } if ($this->isSkipOptional($name)) { continue;
PHP 8.2 test on ubuntu-24.04: src/Arguments.php#L344
Escaped Mutant for Mutator "LogicalOr": @@ @@ { foreach ($cast as $key => $value) { $key = strval($key); - if (str_contains($key, "\x00") || in_array($key, $this->reflected, true)) { + if (str_contains($key, "\x00") && in_array($key, $this->reflected, true)) { continue; } $array[$key] = $value;
PHP 8.2 test on ubuntu-24.04: src/Parameters.php#L76
Escaped Mutant for Mutator "CloneRemoval": @@ @@ } public function withIsVariadic(bool $flag): ParametersInterface { - $new = clone $this; + $new = $this; $new->isVariadic = $flag; return $new; }
PHP 8.2 test on ubuntu-24.04: src/ReflectionParameterTyped.php#L81
Escaped Mutant for Mutator "InstanceOf_": @@ @@ if ($this->type instanceof ReflectionUnionType) { $types = []; foreach ($this->type->getTypes() as $type) { - if ($type instanceof ReflectionIntersectionType) { + if (false) { continue; } $types[] = $type->getName();
PHP 8.2 test on ubuntu-24.04: src/ReflectionParameterTyped.php#L121
Escaped Mutant for Mutator "InstanceOf_": @@ @@ if (method_exists($reflection, 'getName')) { return $reflection->getName(); } - if ($reflection instanceof ReflectionUnionType) { + if (true) { $types = []; foreach ($reflection->getTypes() as $type) { $types[] = $this->getTypeHint($type);
PHP 8.1 test on ubuntu-24.04: src/Arguments.php#L284
Escaped Mutant for Mutator "Break_": @@ @@ $this->errors[] = $e->getMessage(); } } - break; + continue; } if ($this->isSkipOptional($name)) { continue;
PHP 8.1 test on ubuntu-24.04: src/Arguments.php#L344
Escaped Mutant for Mutator "LogicalOr": @@ @@ { foreach ($cast as $key => $value) { $key = strval($key); - if (str_contains($key, "\x00") || in_array($key, $this->reflected, true)) { + if (str_contains($key, "\x00") && in_array($key, $this->reflected, true)) { continue; } $array[$key] = $value;
PHP 8.1 test on ubuntu-24.04: src/Parameters.php#L76
Escaped Mutant for Mutator "CloneRemoval": @@ @@ } public function withIsVariadic(bool $flag): ParametersInterface { - $new = clone $this; + $new = $this; $new->isVariadic = $flag; return $new; }
PHP 8.1 test on ubuntu-24.04: src/ReflectionParameterTyped.php#L81
Escaped Mutant for Mutator "InstanceOf_": @@ @@ if ($this->type instanceof ReflectionUnionType) { $types = []; foreach ($this->type->getTypes() as $type) { - if ($type instanceof ReflectionIntersectionType) { + if (false) { continue; } $types[] = $type->getName();
PHP 8.1 test on ubuntu-24.04: src/ReflectionParameterTyped.php#L121
Escaped Mutant for Mutator "InstanceOf_": @@ @@ if (method_exists($reflection, 'getName')) { return $reflection->getName(); } - if ($reflection instanceof ReflectionUnionType) { + if (true) { $types = []; foreach ($reflection->getTypes() as $type) { $types[] = $this->getTypeHint($type);
PHP 8.4 test on ubuntu-24.04: src/Arguments.php#L284
Escaped Mutant for Mutator "Break_": @@ @@ $this->errors[] = $e->getMessage(); } } - break; + continue; } if ($this->isSkipOptional($name)) { continue;
PHP 8.4 test on ubuntu-24.04: src/Arguments.php#L344
Escaped Mutant for Mutator "LogicalOr": @@ @@ { foreach ($cast as $key => $value) { $key = strval($key); - if (str_contains($key, "\x00") || in_array($key, $this->reflected, true)) { + if (str_contains($key, "\x00") && in_array($key, $this->reflected, true)) { continue; } $array[$key] = $value;
PHP 8.4 test on ubuntu-24.04: src/Parameters.php#L76
Escaped Mutant for Mutator "CloneRemoval": @@ @@ } public function withIsVariadic(bool $flag): ParametersInterface { - $new = clone $this; + $new = $this; $new->isVariadic = $flag; return $new; }
PHP 8.4 test on ubuntu-24.04: src/ReflectionParameterTyped.php#L81
Escaped Mutant for Mutator "InstanceOf_": @@ @@ if ($this->type instanceof ReflectionUnionType) { $types = []; foreach ($this->type->getTypes() as $type) { - if ($type instanceof ReflectionIntersectionType) { + if (false) { continue; } $types[] = $type->getName();
PHP 8.4 test on ubuntu-24.04: src/ReflectionParameterTyped.php#L121
Escaped Mutant for Mutator "InstanceOf_": @@ @@ if (method_exists($reflection, 'getName')) { return $reflection->getName(); } - if ($reflection instanceof ReflectionUnionType) { + if (true) { $types = []; foreach ($reflection->getTypes() as $type) { $types[] = $this->getTypeHint($type);