Skip to content

fix everything

fix everything #25

Triggered via pull request April 9, 2026 16:36
Status Success
Total duration 33s
Artifacts

mutation-tests.yml

on: pull_request
Matrix: Mutation tests
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
Mutation tests (locked, 8.5, ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, shivammathur/setup-php@2.36.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Mutation tests (locked, 8.5, ubuntu-latest): src/Metadata/DocumentMetadata.php#L101
Escaped Mutant for Mutator "Continue_": @@ @@ if (!isset($fields[$part])) { $fieldParts[] = $part; $fields = []; - continue; + break; } $field = $fields[$part]; $fieldParts[] = $field->fieldName;
Mutation tests (locked, 8.5, ubuntu-latest): src/Metadata/DocumentMetadata.php#L84
Escaped Mutant for Mutator "ArrayOneItem": @@ @@ [$fieldPath, $childFields] = $this->propertyPathToFieldPathWithChildren($key, $fields); $result[$fieldPath] = is_array($value) ? $this->mapFilterToFieldPathsWithFields($value, $childFields) : $value; } - return $result; + return count($result) > 1 ? array_slice($result, 0, 1, true) : $result; } /** * @param array<string, FieldMapping> $fields
Mutation tests (locked, 8.5, ubuntu-latest): src/Metadata/DocumentMetadata.php#L76
Escaped Mutant for Mutator "Continue_": @@ @@ } else { $result[$key] = $value; } - continue; + break; } [$fieldPath, $childFields] = $this->propertyPathToFieldPathWithChildren($key, $fields); $result[$fieldPath] = is_array($value) ? $this->mapFilterToFieldPathsWithFields($value, $childFields) : $value;