Skip to content

Commit ff32eb1

Browse files
committed
fixup! fix newlines
1 parent 8a025a8 commit ff32eb1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/PhpParser/Printer/PHPStanPrinterTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ public function testAddingCommentOnSomeNodesFail(): void
2929
$innerParser = $parserReflectionProperty->getValue($phpstanParser);
3030
$tokens = $innerParser->getTokens();
3131

32-
$standardPrinter = new Standard([
33-
'newline' => "\n",
34-
]);
32+
$standardPrinter = new Standard();
3533
$printerContents = $standardPrinter->printFormatPreserving($stmts, $stmts, $tokens);
3634

3735
$newlineNormalizedContents = str_replace("\n", PHP_EOL, $printerContents);

0 commit comments

Comments
 (0)