Skip to content

Add enum support

Add enum support #4553

Triggered via pull request July 28, 2024 13:17
Status Failure
Total duration 3m 20s
Artifacts

mutation.yml

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

Annotations

1 error and 1 warning
mutation / PHP 8.3-ubuntu-latest
Process completed with exit code 1.
mutation / PHP 8.3-ubuntu-latest: src/Rule/InEnumHandler.php#L29
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } $result = new Result(); if ($rule->isNot() === in_array($value, $rule->getValues(), $rule->isStrict())) { - $result->addError($rule->getMessage(), ['property' => $context->getTranslatedProperty(), 'Property' => $context->getCapitalizedTranslatedProperty()]); + $result->addError($rule->getMessage(), ['Property' => $context->getCapitalizedTranslatedProperty()]); } return $result; } }