Merge pull request #1 from tavy315/3276

Use Newline from Standard Printer
This commit is contained in:
Octav 2020-05-20 17:28:07 +03:00 committed by GitHub
commit 46c534305c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
/**