Skip to content

Commit 596bf28

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: Revert "bug #21436 [DependencyInjection] check for circular refs caused by method calls (xabbuh)" Static code analysis with Php Inspections (EA Extended) [VarDumper] Added missing persistent stream cast
2 parents 322a8c2 + 59cf221 commit 596bf28

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
@@ -626,7 +626,7 @@ private function parseBlockScalar($style, $chomping = '', $indentation = 0)
626626
$previousLineIndented = false;
627627
$previousLineBlank = false;
628628

629-
for ($i = 0; $i < count($blockLines); ++$i) {
629+
for ($i = 0, $blockLinesCount = count($blockLines); $i < $blockLinesCount; ++$i) {
630630
if ('' === $blockLines[$i]) {
631631
$text .= "\n";
632632
$previousLineIndented = false;

0 commit comments

Comments
 (0)