Skip to content

Commit 9724c68

Browse files
committed
Merge branch '2.8' into 3.2
* 2.8: 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 e1718c6 + 596bf28 commit 9724c68

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
@@ -684,7 +684,7 @@ private function parseBlockScalar($style, $chomping = '', $indentation = 0)
684684
$previousLineIndented = false;
685685
$previousLineBlank = false;
686686

687-
for ($i = 0; $i < count($blockLines); ++$i) {
687+
for ($i = 0, $blockLinesCount = count($blockLines); $i < $blockLinesCount; ++$i) {
688688
if ('' === $blockLines[$i]) {
689689
$text .= "\n";
690690
$previousLineIndented = false;

0 commit comments

Comments
 (0)