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 cbe12ca + 78c0b05 commit c2e4d6aCopy full SHA for c2e4d6a
tests/TestCase/Annotator/DiffHelperTrait.php
@@ -3,6 +3,7 @@
3
namespace IdeHelper\Test\TestCase\Annotator;
4
5
use SebastianBergmann\Diff\Differ;
6
+use SebastianBergmann\Diff\Output\DiffOnlyOutputBuilder;
7
8
trait DiffHelperTrait {
9
@@ -15,7 +16,7 @@ trait DiffHelperTrait {
15
16
* @return void
17
*/
18
protected function _displayDiff($expected, $actual) {
- $differ = new Differ(null);
19
+ $differ = new Differ(new DiffOnlyOutputBuilder());
20
$array = $differ->diffToArray($expected, $actual);
21
22
$begin = null;
0 commit comments