Skip to content

Update PHP ^8.2

Update PHP ^8.2 #202

Triggered via push September 11, 2023 15:48
Status Success
Total duration 1m 55s
Artifacts

workflow.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Job: src/CustomReports/PhpCodeSnifferReport.php#L24
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ /** * @param mixed[] $report */ - public function generateFileReport(mixed $report, File $phpcsFile, mixed $showSources = FALSE, mixed $width = 80) : bool + public function generateFileReport(mixed $report, File $phpcsFile, mixed $showSources = true, mixed $width = 80) : bool { if (count($report['messages']) > 0) { $path = str_replace($this->root, '', $report['filename']);
Job: src/CustomReports/PhpCodeSnifferReport.php#L25
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ /** * @param mixed[] $report */ - public function generateFileReport(mixed $report, File $phpcsFile, mixed $showSources = FALSE, mixed $width = 80) : bool + public function generateFileReport(mixed $report, File $phpcsFile, mixed $showSources = FALSE, mixed $width = 79) : bool { if (count($report['messages']) > 0) { $path = str_replace($this->root, '', $report['filename']);
Job: src/CustomReports/PhpCodeSnifferReport.php#L25
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ /** * @param mixed[] $report */ - public function generateFileReport(mixed $report, File $phpcsFile, mixed $showSources = FALSE, mixed $width = 80) : bool + public function generateFileReport(mixed $report, File $phpcsFile, mixed $showSources = FALSE, mixed $width = 81) : bool { if (count($report['messages']) > 0) { $path = str_replace($this->root, '', $report['filename']);
Job: src/CustomReports/PhpCodeSnifferReport.php#L27
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ */ public function generateFileReport(mixed $report, File $phpcsFile, mixed $showSources = FALSE, mixed $width = 80) : bool { - if (count($report['messages']) > 0) { + if (count($report['messages']) >= 0) { $path = str_replace($this->root, '', $report['filename']); foreach ($report['messages'] as $rowNumber => $rows) { foreach ($rows as $cols) {
Job: src/CustomReports/PhpCodeSnifferReport.php#L48
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ } return TRUE; } - public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = FALSE, mixed $width = 80, mixed $interactive = FALSE, mixed $toScreen = TRUE) : void + public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = true, mixed $width = 80, mixed $interactive = FALSE, mixed $toScreen = TRUE) : void { if (strlen($cachedData) !== 0) { echo sprintf('%s%sErrors: %s%s', $cachedData, PHP_EOL, $totalErrors, PHP_EOL);
Job: src/CustomReports/PhpCodeSnifferReport.php#L49
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } return TRUE; } - public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = FALSE, mixed $width = 80, mixed $interactive = FALSE, mixed $toScreen = TRUE) : void + public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = FALSE, mixed $width = 81, mixed $interactive = FALSE, mixed $toScreen = TRUE) : void { if (strlen($cachedData) !== 0) { echo sprintf('%s%sErrors: %s%s', $cachedData, PHP_EOL, $totalErrors, PHP_EOL);
Job: src/CustomReports/PhpCodeSnifferReport.php#L49
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } return TRUE; } - public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = FALSE, mixed $width = 80, mixed $interactive = FALSE, mixed $toScreen = TRUE) : void + public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = FALSE, mixed $width = 79, mixed $interactive = FALSE, mixed $toScreen = TRUE) : void { if (strlen($cachedData) !== 0) { echo sprintf('%s%sErrors: %s%s', $cachedData, PHP_EOL, $totalErrors, PHP_EOL);
Job: src/CustomReports/PhpCodeSnifferReport.php#L50
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ } return TRUE; } - public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = FALSE, mixed $width = 80, mixed $interactive = FALSE, mixed $toScreen = TRUE) : void + public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = FALSE, mixed $width = 80, mixed $interactive = true, mixed $toScreen = TRUE) : void { if (strlen($cachedData) !== 0) { echo sprintf('%s%sErrors: %s%s', $cachedData, PHP_EOL, $totalErrors, PHP_EOL);
Job: src/CustomReports/PhpCodeSnifferReport.php#L51
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ } return TRUE; } - public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = FALSE, mixed $width = 80, mixed $interactive = FALSE, mixed $toScreen = TRUE) : void + public function generate(mixed $cachedData, mixed $totalFiles, mixed $totalErrors, mixed $totalWarnings, mixed $totalFixable, mixed $showSources = FALSE, mixed $width = 80, mixed $interactive = FALSE, mixed $toScreen = false) : void { if (strlen($cachedData) !== 0) { echo sprintf('%s%sErrors: %s%s', $cachedData, PHP_EOL, $totalErrors, PHP_EOL);
Job: src/CustomReports/PhpStanReport.php#L28
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ /** @var Error[][] $fileErrors */ $fileErrors = []; foreach ($analysisResult->getFileSpecificErrors() as $fileSpecificError) { - if (!isset($fileErrors[$fileSpecificError->getFile()])) { + if (isset($fileErrors[$fileSpecificError->getFile()])) { $fileErrors[$fileSpecificError->getFile()] = []; } $fileErrors[$fileSpecificError->getFile()][] = $fileSpecificError;