Skip to content

Commit 7f7cac7

Browse files
Merge branch '2.7' into 2.8
* 2.7: [Yaml] release memory after parsing [HttpFoundation] Fix and test status codes according to IANA's data Add `use_strict_mode` in validOptions for session [Console] Inherit phpdoc from OutputFormatterInterface
2 parents 86219ff + f9bafc4 commit 7f7cac7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Parser.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ public function parse($value, $exceptionOnInvalidType = false, $objectSupport =
8686
mb_internal_encoding($mbEncoding);
8787
}
8888

89+
$this->lines = array();
90+
$this->currentLine = '';
91+
$this->refs = array();
92+
$this->skippedLineNumbers = array();
93+
$this->locallySkippedLineNumbers = array();
94+
8995
if (null !== $e) {
9096
throw $e;
9197
}

0 commit comments

Comments
 (0)