Skip to content

Commit 59d6784

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [Yaml] Remove legacy code
2 parents 0209901 + 09e4e49 commit 59d6784

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Symfony/Component/Yaml/Parser.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -255,17 +255,6 @@ public function parse($value, $exceptionOnInvalidType = false, $objectSupport =
255255
throw $e;
256256
}
257257

258-
if (is_array($value)) {
259-
$first = reset($value);
260-
if (is_string($first) && 0 === strpos($first, '*')) {
261-
$data = array();
262-
foreach ($value as $alias) {
263-
$data[] = $this->refs[substr($alias, 1)];
264-
}
265-
$value = $data;
266-
}
267-
}
268-
269258
if (isset($mbEncoding)) {
270259
mb_internal_encoding($mbEncoding);
271260
}

0 commit comments

Comments
 (0)