mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-22 02:36:52 +01:00
Merge pull request #1 from tavy315/3276
Use Newline from Standard Printer
This commit is contained in:
commit
46c534305c
@ -88,7 +88,7 @@ final class BetterStandardPrinter extends Standard
|
||||
$clearContent = Strings::replace($clearContent, '#\<\?php(\s+)\?\>#');
|
||||
|
||||
// keep EOL
|
||||
return rtrim($clearContent) . PHP_EOL;
|
||||
return rtrim($clearContent) . $this->nl;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user