Skip to content

Add support for PHP 8.3 #1274

Add support for PHP 8.3

Add support for PHP 8.3 #1274

Triggered via pull request December 7, 2023 15:42
Status Failure
Total duration 3m 52s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

full-checks.yml

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

Annotations

1 error and 36 warnings
PHP version 8.3, deps. lowest
Process completed with exit code 1.
PHP version 8.3, 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.3, 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.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.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. 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.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.3, 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.3, 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. 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.3, 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. 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.3, 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. 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. 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.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/
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/
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/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): src/Domain/Utils/Path.php#L126
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ self::$buffer[$path] = $canonicalPath = $root . implode('/', $canonicalParts); ++self::$bufferSize; // Clean up regularly to prevent memory leaks - if (self::$bufferSize > self::CLEANUP_THRESHOLD) { + if (self::$bufferSize >= self::CLEANUP_THRESHOLD) { self::$buffer = array_slice(self::$buffer, -self::CLEANUP_SIZE, null, true); self::$bufferSize = self::CLEANUP_SIZE; }
Runs code coverage, infection and deptrac (locked, 8.1, ubuntu-22.04): src/Domain/Utils/Path.php#L126
Escaped Mutant for Mutator "GreaterThanNegotiation": --- Original +++ New @@ @@ self::$buffer[$path] = $canonicalPath = $root . implode('/', $canonicalParts); ++self::$bufferSize; // Clean up regularly to prevent memory leaks - if (self::$bufferSize > self::CLEANUP_THRESHOLD) { + if (self::$bufferSize <= self::CLEANUP_THRESHOLD) { self::$buffer = array_slice(self::$buffer, -self::CLEANUP_SIZE, null, true); self::$bufferSize = self::CLEANUP_SIZE; }
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/