Skip to content

Commit 59cf221

Browse files
kalessilfabpot
authored andcommitted
Static code analysis with Php Inspections (EA Extended)
1 parent 149dd4e commit 59cf221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ private function parseBlockScalar($style, $chomping = '', $indentation = 0)
610610
$previousLineIndented = false;
611611
$previousLineBlank = false;
612612

613-
for ($i = 0; $i < count($blockLines); ++$i) {
613+
for ($i = 0, $blockLinesCount = count($blockLines); $i < $blockLinesCount; ++$i) {
614614
if ('' === $blockLines[$i]) {
615615
$text .= "\n";
616616
$previousLineIndented = false;

0 commit comments

Comments
 (0)