Skip to content

fix: Fix the Diff command #1106

fix: Fix the Diff command

fix: Fix the Diff command #1106

Triggered via pull request October 8, 2023 21:30
Status Failure
Total duration 10m 4s
Artifacts

unit-tests.yaml

on: pull_request
Matrix: infection
Matrix: unit-tests
Unit tests status
3s
Unit tests status
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Infection (PHP 8.1)
Process completed with exit code 2.
Unit tests status
Process completed with exit code 1.
Infection (PHP 8.1): src/Console/Command/Diff.php#L249
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ private static function renderPaths(string $symbol, PharInfo $pharInfo, array $paths, IO $io) : void { $bufferedOutput = new BufferedOutput($io->getVerbosity(), $io->isDecorated(), $io->getOutput()->getFormatter()); - PharInfoRenderer::renderContent($bufferedOutput, $pharInfo, false, false); + PharInfoRenderer::renderContent($bufferedOutput, $pharInfo, false, true); $lines = array_map(static fn(string $line) => '' === $line ? '' : $symbol . ' ' . $line, explode(PHP_EOL, $bufferedOutput->fetch())); $io->writeln($lines); }