We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2e4d6a + f06cdd7 commit f5289dbCopy full SHA for f5289db
src/Illuminator/TaskCollection.php
@@ -10,6 +10,7 @@
10
use InvalidArgumentException;
11
use RuntimeException;
12
use SebastianBergmann\Diff\Differ;
13
+use SebastianBergmann\Diff\Output\DiffOnlyOutputBuilder;
14
15
class TaskCollection {
16
@@ -187,7 +188,7 @@ public function run(string $path): bool {
187
188
* @return void
189
*/
190
protected function displayDiff(string $oldContent, string $newContent): void {
- $differ = new Differ(null);
191
+ $differ = new Differ(new DiffOnlyOutputBuilder());
192
$array = $differ->diffToArray($oldContent, $newContent);
193
194
$begin = null;
0 commit comments