
line_ending
¶All PHP files must use same line ending.
--- Original
+++ New
<?php $b = " $a ^M
- 123"; $a = <<<TEST^M
-AAAAA ^M
- |^M
+ 123"; $a = <<<TEST
+AAAAA
+ |
TEST;
The rule is part of the following rule sets:
Using the @PER rule set will enable the line_ending
rule.
Using the @PSR2 rule set will enable the line_ending
rule.
Using the @PSR12 rule set will enable the line_ending
rule.
Using the @PhpCsFixer rule set will enable the line_ending
rule.
Using the @Symfony rule set will enable the line_ending
rule.