Skip to content

Commit

Permalink
Clean up CompleteMissingIfElseBracketRector (#5131)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Oct 6, 2023
1 parent 3699f54 commit 8f4ef6c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ private function isIfConditionFollowedByOpeningCurlyBracket(If_|ElseIf_|Else_ $i
}

if ($oldTokens[$i] !== ')' && ! is_array($oldTokens[$i+1])) {
if ($oldTokens[$i] === ';') {
// all good
return true;
}

continue;
}

Expand Down

0 comments on commit 8f4ef6c

Please sign in to comment.