Skip to content

Detach from monorepo #1

Detach from monorepo

Detach from monorepo #1

Triggered via push September 7, 2024 12:19
Status Success
Total duration 1m 30s
Artifacts

check.yml

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

Annotations

11 warnings
test (8.1, locked)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
infection: src/Visitor/RecursiveTypeReplacer.php#L25
Escaped Mutant for Mutator "LogicalAnd": @@ @@ { $newMinType = $minType->accept($this); $newMaxType = $maxType->accept($this); - if ($newMinType === $minType && $newMaxType === $maxType) { + if ($newMinType === $minType || $newMaxType === $maxType) { return $type; } return types::intRange($newMinType, $newMaxType);
infection: src/Visitor/RecursiveTypeReplacer.php#L48
Escaped Mutant for Mutator "Identical": @@ @@ { $newMinType = $minType->accept($this); $newMaxType = $maxType->accept($this); - if ($newMinType === $minType && $newMaxType === $maxType) { + if ($newMinType !== $minType && $newMaxType === $maxType) { return $type; } return types::floatRange($newMinType, $newMaxType);
infection: src/Visitor/RecursiveTypeReplacer.php#L48
Escaped Mutant for Mutator "Identical": @@ @@ { $newMinType = $minType->accept($this); $newMaxType = $maxType->accept($this); - if ($newMinType === $minType && $newMaxType === $maxType) { + if ($newMinType === $minType && $newMaxType !== $maxType) { return $type; } return types::floatRange($newMinType, $newMaxType);
infection: src/Visitor/RecursiveTypeReplacer.php#L48
Escaped Mutant for Mutator "LogicalAnd": @@ @@ { $newMinType = $minType->accept($this); $newMaxType = $maxType->accept($this); - if ($newMinType === $minType && $newMaxType === $maxType) { + if ($newMinType === $minType || $newMaxType === $maxType) { return $type; } return types::floatRange($newMinType, $newMaxType);
infection: src/Visitor/RecursiveTypeReplacer.php#L48
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation": @@ @@ { $newMinType = $minType->accept($this); $newMaxType = $maxType->accept($this); - if ($newMinType === $minType && $newMaxType === $maxType) { + if (!($newMinType === $minType) && !($newMaxType === $maxType)) { return $type; } return types::floatRange($newMinType, $newMaxType);
infection: src/Visitor/RecursiveTypeReplacer.php#L48
Escaped Mutant for Mutator "LogicalAndNegation": @@ @@ { $newMinType = $minType->accept($this); $newMaxType = $maxType->accept($this); - if ($newMinType === $minType && $newMaxType === $maxType) { + if (!($newMinType === $minType && $newMaxType === $maxType)) { return $type; } return types::floatRange($newMinType, $newMaxType);
infection: src/Visitor/RecursiveTypeReplacer.php#L83
Escaped Mutant for Mutator "Foreach_": @@ @@ $newValueType = $valueType->accept($this); $changed = $newValueType !== $valueType; $newElements = []; - foreach ($elements as $element) { + foreach ([] as $element) { $newElementType = $element->type->accept($this); if ($newElementType === $element->type) { $newElements[] = $element;
infection: src/Visitor/RecursiveTypeReplacer.php#L89
Escaped Mutant for Mutator "Continue_": @@ @@ $newElementType = $element->type->accept($this); if ($newElementType === $element->type) { $newElements[] = $element; - continue; + break; } $newElements[] = $element->with(type: $newElementType); $changed = true;
infection: src/Visitor/RecursiveTypeReplacer.php#L107
Escaped Mutant for Mutator "LogicalOr": @@ @@ { $newKeyType = $keyType->accept($this); $newValueType = $valueType->accept($this); - $changed = $newKeyType !== $keyType || $newValueType !== $valueType; + $changed = $newKeyType !== $keyType && $newValueType !== $valueType; $newElements = []; foreach ($elements as $key => $element) { $newElementType = $element->type->accept($this);
infection: src/Visitor/RecursiveTypeReplacer.php#L110
Escaped Mutant for Mutator "Foreach_": @@ @@ $newValueType = $valueType->accept($this); $changed = $newKeyType !== $keyType || $newValueType !== $valueType; $newElements = []; - foreach ($elements as $key => $element) { + foreach ([] as $key => $element) { $newElementType = $element->type->accept($this); if ($newElementType === $element->type) { $newElements[$key] = $element;