Skip to content

automatic pos/name argument resolver #89

automatic pos/name argument resolver

automatic pos/name argument resolver #89

Triggered via push January 17, 2025 17:19
Status Success
Total duration 58s
Artifacts

test.yml

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

Annotations

12 warnings
PHP 8.4 test on ubuntu-24.04: src/Arguments.php#L320
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/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);
PHP 8.3 test on ubuntu-24.04: src/Arguments.php#L320
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/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#L320
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/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#L320
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/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);