Skip to content

Full checks

Full checks #1130

Triggered via schedule July 19, 2023 10:01
Status Success
Total duration 3m 38s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

full-checks.yml

on: schedule
Matrix: full-checks
Matrix: Runs code coverage, infection and deptrac
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
PHP version 8.1, deps. locked
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 version 8.1, deps. locked
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP version 8.0, deps. highest
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 version 8.0, deps. highest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP version 8.1, deps. highest
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 version 8.1, deps. highest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP version 8.0, deps. locked
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 version 8.0, deps. locked
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP version 8.2, deps. highest
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 version 8.2, deps. highest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP version 8.2, deps. locked
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 version 8.2, deps. locked
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP version 8.0, deps. 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/
PHP version 8.0, deps. lowest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP version 8.1, deps. 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/
PHP version 8.1, deps. lowest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP version 8.2, deps. 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/
PHP version 8.2, deps. lowest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04)
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/Analyser/BaseLineResultsRemover.php#L39
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ $baseLineResultsComparator = new BaseLineResultsComparator($baseLineAnalysisResults); foreach ($latestAnalysisResults->getAnalysisResults() as $analysisResult) { if ($analysisResult->getSeverity()->isWarning() && $ignoreWarnings) { - continue; + break; } if (!$this->isInHistoricResults($analysisResult, $baseLineResultsComparator, $historyAnalyser)) { $prunedAnalysisResultsBuilder->addAnalysisResult($analysisResult);
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/HistoryAnalyser/UnifiedDiffParser/LineMutation.php#L83
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ return null === $b; } if (null === $b) { - return false; + return true; } return $a->getLineNumber() === $b->getLineNumber(); } }
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/HistoryAnalyser/UnifiedDiffParser/Parser.php#L60
Escaped Mutant for Mutator "DoWhile": --- Original +++ New @@ @@ if ($removeFinalLine) { unset($lines[$finalLineIndex]); } - } while ($removeFinalLine); + } while (false); return $lines; } }
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/HistoryAnalyser/UnifiedDiffParser/Parser.php#L62
Escaped Mutant for Mutator "GreaterThanOrEqualTo": --- Original +++ New @@ @@ // Strip trailing empty lines from diff do { $finalLineIndex = count($lines) - 1; - $removeFinalLine = $finalLineIndex >= 0 && '' === trim($lines[$finalLineIndex]); + $removeFinalLine = $finalLineIndex > 0 && '' === trim($lines[$finalLineIndex]); if ($removeFinalLine) { unset($lines[$finalLineIndex]); }
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/HistoryAnalyser/UnifiedDiffParser/Parser.php#L62
Escaped Mutant for Mutator "UnwrapTrim": --- Original +++ New @@ @@ // Strip trailing empty lines from diff do { $finalLineIndex = count($lines) - 1; - $removeFinalLine = $finalLineIndex >= 0 && '' === trim($lines[$finalLineIndex]); + $removeFinalLine = $finalLineIndex >= 0 && '' === $lines[$finalLineIndex]; if ($removeFinalLine) { unset($lines[$finalLineIndex]); }
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/HistoryAnalyser/UnifiedDiffParser/internal/RangeInformation.php#L47
Escaped Mutant for Mutator "PregMatchRemoveCaret": --- Original +++ New @@ @@ public function __construct(string $line) { $matches = []; - $match = preg_match('/^@@ -(\\d+)(,\\d+){0,1} \\+(\\d+)(,\\d+){0,1} @@/', $line, $matches); + $match = preg_match('/@@ -(\\d+)(,\\d+){0,1} \\+(\\d+)(,\\d+){0,1} @@/', $line, $matches); if (1 !== $match) { throw DiffParseException::invalidRangeInformation($line); }
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/RandomResultsPicker/RandomResultsPicker.php#L37
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ $issuesToPickFrom = $issues->getAnalysisResults(); for ($i = 0; $i < $randomIssuesToFix; ++$i) { $totalRemaining = count($issuesToPickFrom); - $issuePickedIndex = $this->randomNumberGenerator->getRandomNumber($totalRemaining - 1); + $issuePickedIndex = $this->randomNumberGenerator->getRandomNumber($totalRemaining - 0); $issuePicked = $issuesToPickFrom[$issuePickedIndex]; $randomIssues->addAnalysisResult($issuePicked); array_splice($issuesToPickFrom, $issuePickedIndex, 1);
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/RandomResultsPicker/RandomResultsPicker.php#L37
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ $issuesToPickFrom = $issues->getAnalysisResults(); for ($i = 0; $i < $randomIssuesToFix; ++$i) { $totalRemaining = count($issuesToPickFrom); - $issuePickedIndex = $this->randomNumberGenerator->getRandomNumber($totalRemaining - 1); + $issuePickedIndex = $this->randomNumberGenerator->getRandomNumber($totalRemaining - 2); $issuePicked = $issuesToPickFrom[$issuePickedIndex]; $randomIssues->addAnalysisResult($issuePicked); array_splice($issuesToPickFrom, $issuePickedIndex, 1);
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/ResultsParser/AnalysisResultsImporter.php#L23
Escaped Mutant for Mutator "Catch_": --- Original +++ New @@ @@ { try { return $resultsParser->convertFromString($analysisResultsAsString, $projectRoot); - } catch (InvalidContentTypeException|ParseAtLocationException $e) { + } catch (InvalidContentTypeException $e) { throw AnalysisResultsImportException::fromException($resultsParser->getIdentifier(), $e); } } }
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/Utils/Path.php#L123
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ } // Add the root directory again self::$buffer[$path] = $canonicalPath = $root . implode('/', $canonicalParts); - ++self::$bufferSize; + --self::$bufferSize; // Clean up regularly to prevent memory leaks if (self::$bufferSize > self::CLEANUP_THRESHOLD) { self::$buffer = array_slice(self::$buffer, -self::CLEANUP_SIZE, null, true);
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/