
Rule string_line_ending
ΒΆ
All multi-line strings must use correct line ending.
WarningΒΆ
Using this rule is riskyΒΆ
Changing the line endings of multi-line strings might affect string comparisons and outputs.
ExamplesΒΆ
Example #1ΒΆ
--- Original
+++ New
-<?php $a = 'my^M
+<?php $a = 'my
multi
-line^M
+line
string';^M
Rule setsΒΆ
The rule is part of the following rule sets: