We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13d7a6 commit 9660ad6Copy full SHA for 9660ad6
1 file changed
rules/Php81/NodeManipulator/AttributeGroupNewLiner.php
@@ -50,7 +50,7 @@ public function newLine(File $file, Node $node): void
50
51
$nextTokenText = $oldTokens[$startTokenPos + $iteration + 1]->text ?? '';
52
if (trim($nextTokenText) === '') {
53
- // when trimmed is empty string, but it contains new line
+ // when trimmed is empty string, but original text contains new line
54
if (str_contains($nextTokenText, "\n") || str_contains($nextTokenText, "\r")) {
55
break;
56
}
0 commit comments