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 2712027 commit 8a025a8Copy full SHA for 8a025a8
1 file changed
tests/PhpParser/Printer/PHPStanPrinterTest.php
@@ -34,6 +34,8 @@ public function testAddingCommentOnSomeNodesFail(): void
34
]);
35
$printerContents = $standardPrinter->printFormatPreserving($stmts, $stmts, $tokens);
36
37
- $this->assertStringEqualsFile(__DIR__ . '/Fixture/some_array_map.php', $printerContents);
+ $newlineNormalizedContents = str_replace("\n", PHP_EOL, $printerContents);
38
+
39
+ $this->assertStringEqualsFile(__DIR__ . '/Fixture/some_array_map.php', $newlineNormalizedContents);
40
}
41
0 commit comments