You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gsherwood
changed the title
PSR12.Files.FileHeader with Generic.Files.LineEndings
PSR12.Files.FileHeader conflicts with Generic.Files.LineEndings
Mar 8, 2020
If I run
phpcbf --sniffs="PSR12.Files.FileHeader,Generic.Files.LineEndings" myfile.php
wheremyfile.php
is as follows (with\r\n
line endings):Then I receive an error:
The file now contains 25 empty lines betwen the opening
<?php
tag and$name = 'Foo';
. With\r
or\n
line endings the file is fixed as expected:Tested with
dev-master
and v3.5.4.The text was updated successfully, but these errors were encountered: