Skip to content

Filter data nested forms #155

Filter data nested forms

Filter data nested forms #155

Triggered via pull request October 6, 2024 22:42
Status Failure
Total duration 1m 2s
Artifacts

mutation.yml

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

Annotations

1 error and 2 warnings
mutation / PHP 8.2-ubuntu-latest
Process completed with exit code 1.
mutation / PHP 8.2-ubuntu-latest: src/FormHydrator.php#L273
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ continue; } if ($property->isReadOnly()) { - continue; + break; } $propertyValue = $property->getValue($formModel); if ($propertyValue instanceof FormModelInterface) {
mutation / PHP 8.2-ubuntu-latest: src/FormHydrator.php#L291
Escaped Mutant for Mutator "ArrayOneItem": --- Original +++ New @@ @@ } } } - return $filteredData; + return count($filteredData) > 1 ? array_slice($filteredData, 0, 1, true) : $filteredData; } }