Skip to content

Commit 846959f

Browse files
committed
Differ constructor changed
1 parent afb3499 commit 846959f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Fixable/Patcher.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use PHPStan\File\FileReader;
1313
use ReflectionClass;
1414
use SebastianBergmann\Diff\Differ;
15+
use SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder;
1516
use function array_map;
1617
use function count;
1718
use function implode;
@@ -29,7 +30,7 @@ final class Patcher
2930

3031
public function __construct()
3132
{
32-
$this->differ = new Differ();
33+
$this->differ = new Differ(new UnifiedDiffOutputBuilder());
3334
}
3435

3536
/**

0 commit comments

Comments
 (0)