add reference #85
Annotations
3 warnings
Mutation testing (Infection):
src/Arguments.php#L317
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;
|
Mutation testing (Infection):
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();
|
Mutation testing (Infection):
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);
|
Loading