Skip to content

Commit d503f75

Browse files
JakeQZoliverklee
andauthored
Use while (true) instead of for (;;)
Co-authored-by: Oliver Klee <[email protected]>
1 parent 310081a commit d503f75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RuleSet/RuleSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static function parseRuleSet(ParserState $parserState, RuleSet $ruleSet):
6565
while ($parserState->comes(';')) {
6666
$parserState->consume(';');
6767
}
68-
for (;;) {
68+
while (true) {
6969
$commentsBeforeRule = $parserState->consumeWhiteSpace();
7070
if ($parserState->comes('}')) {
7171
break;

0 commit comments

Comments
 (0)