Skip to content

Update infection/infection requirement from ^0.28.1 to ^0.29.6 #93

Update infection/infection requirement from ^0.28.1 to ^0.29.6

Update infection/infection requirement from ^0.28.1 to ^0.29.6 #93

Triggered via pull request June 24, 2024 11:17
Status Success
Total duration 1m 1s
Artifacts

build.yml

on: pull_request
Test if tests pass in the Docker container
25s
Test if tests pass in the Docker container
Matrix: Tests with coverage and PR Comments
Matrix: PHP Tests
Fit to window
Zoom out
Zoom in

Annotations

19 warnings
PHP Tests (8.3, latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP Tests (8.3, latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Tests (8.2, latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP Tests (8.2, latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Tests (8.1, latest, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP Tests (8.1, latest, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Tests (8.1, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP Tests (8.1, lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test if tests pass in the Docker container
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test if tests pass in the Docker container
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests with coverage and PR Comments (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v1.0.15. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests with coverage and PR Comments (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v1.0.15. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests with coverage and PR Comments (8.3): src/FileHandling/RegexFinder.php#L61
Escaped Mutant for Mutator "UnwrapArrayFilter": @@ @@ }); $recursiveIterator = new RecursiveIteratorIterator($regexIterator); $matches = array_values(iterator_to_array($recursiveIterator)); - assert(array_filter($matches, static fn(mixed $input): bool => is_string($input)) === $matches); + assert($matches === $matches); return $matches; } }
Tests with coverage and PR Comments (8.3): src/Merge/ReferenceNormalizer.php#L52
Escaped Mutant for Mutator "InstanceOf_": @@ @@ if ($responseContent->schema instanceof Reference) { $responseContent->schema = $this->normalizeReference($responseContent->schema, $refFileCollection); } - if ($responseContent->schema instanceof Schema) { + if (true) { $schemaProperties = $responseContent->schema->properties ?? []; foreach ($schemaProperties as $propertyName => $property) { if (!$property instanceof Reference) {
Tests with coverage and PR Comments (8.3): src/Merge/ReferenceNormalizer.php#L103
Escaped Mutant for Mutator "PregMatchRemoveCaret": @@ @@ { $matches = []; $referenceFile = $reference->getReference(); - if (preg_match('~^(?<referenceFile>.*)(?<referenceString>#/.*)~', $referenceFile, $matches) === 1) { + if (preg_match('~(?<referenceFile>.*)(?<referenceString>#/.*)~', $referenceFile, $matches) === 1) { $refFile = $matches['referenceFile']; if ($refFile !== '') { $refFileCollection[] = $refFile;
Tests with coverage and PR Comments (8.3): src/Merge/SecurityPathMerger.php#L27
Escaped Mutant for Mutator "Continue_": @@ @@ foreach ($newSpec->paths->getPaths() as $pathName => $path) { foreach ($path->getOperations() as $method => $operation) { if ($operation->security !== null) { - continue; + break; } $path = $clonedSpec->paths->getPath($pathName); if (!isset($path->{$method}) || $path->{$method} === null) {
Tests with coverage and PR Comments (8.3): src/Merge/SecurityPathMerger.php#L31
Escaped Mutant for Mutator "LogicalOr": @@ @@ continue; } $path = $clonedSpec->paths->getPath($pathName); - if (!isset($path->{$method}) || $path->{$method} === null) { + if (!isset($path->{$method}) && $path->{$method} === null) { continue; } $path->{$method}->security = $newSpec->security;
Tests with coverage and PR Comments (8.3): src/OpenApiMerge.php#L52
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation": @@ @@ $mergedOpenApiDefinition = $merger->merge($mergedOpenApiDefinition, $additionalDefinition); } } - if ($resolveReference && $mergedOpenApiDefinition->components !== null) { + if (!$resolveReference && !($mergedOpenApiDefinition->components !== null)) { $mergedOpenApiDefinition->components->schemas = []; $mergedOpenApiDefinition->components->responses = []; $mergedOpenApiDefinition->components->requestBodies = [];
Tests with coverage and PR Comments (8.3): src/Reader/FileReader.php#L21
Escaped Mutant for Mutator "TrueValue": @@ @@ { $this->openApiReader = $openApiReader ?? new OpenApiReaderWrapper(); } - public function readFile(File $inputFile, bool $resolveReferences = true): SpecificationFile + public function readFile(File $inputFile, bool $resolveReferences = false): SpecificationFile { switch ($inputFile->getFileExtension()) { case 'yml':