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.
1 parent a544397 commit d698b97Copy full SHA for d698b97
1 file changed
tests/ChangesReporting/Output/JsonOutputFormatterTest.php
@@ -39,9 +39,14 @@ public function testReportShouldShowNumberOfChangesWithNoDiffs(): void
39
[
40
new FileDiff(
41
'some/file.php',
42
- '--- Original' . PHP_EOL . '+++ New' . PHP_EOL .
43
- '@@ -38,5 +39,6 @@' . PHP_EOL .
44
- 'return true;' . PHP_EOL . '}' . PHP_EOL,
+ <<<'DIFF'
+ --- Original
+ +++ New
45
+ @@ -38,5 +39,6 @@
46
+ return true;
47
+ }
48
+
49
+ DIFF,
50
'diff console formatted',
51
[new RectorWithLineChange(StrStartsWithRector::class, 38)]
52
),
0 commit comments