feat: Rework the diff command output #1139
Annotations
1 error and 2 warnings
|
src/Console/Command/Diff.php#L274
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$io->newLine();
self::renderPaths('-', $diff->getPharInfoA(), $diffResult[0], $io);
self::renderPaths('+', $diff->getPharInfoB(), $diffResult[1], $io);
- $io->error(sprintf('%d file(s) difference', count($diffResult[0]) + count($diffResult[1])));
+ $io->error(sprintf('%d file(s) difference', count($diffResult[1]) + count($diffResult[1])));
}
/**
* @param list<non-empty-string> $paths
|
src/Console/Command/Diff.php#L274
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$io->newLine();
self::renderPaths('-', $diff->getPharInfoA(), $diffResult[0], $io);
self::renderPaths('+', $diff->getPharInfoB(), $diffResult[1], $io);
- $io->error(sprintf('%d file(s) difference', count($diffResult[0]) + count($diffResult[1])));
+ $io->error(sprintf('%d file(s) difference', count($diffResult[0]) + count($diffResult[0])));
}
/**
* @param list<non-empty-string> $paths
|
The logs for this run have expired and are no longer available.
Loading