Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a88dff3

Browse filesBrowse files
committed
[Yaml] Remove legacy code
1 parent bcb1d8f commit a88dff3
Copy full SHA for a88dff3

File tree

Expand file treeCollapse file tree

1 file changed

+0
-11
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-11
lines changed

‎src/Symfony/Component/Yaml/Parser.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Yaml/Parser.php
-11Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -259,17 +259,6 @@ public function parse($value, $exceptionOnInvalidType = false, $objectSupport =
259259
throw $e;
260260
}
261261

262-
if (is_array($value)) {
263-
$first = reset($value);
264-
if (is_string($first) && 0 === strpos($first, '*')) {
265-
$data = array();
266-
foreach ($value as $alias) {
267-
$data[] = $this->refs[substr($alias, 1)];
268-
}
269-
$value = $data;
270-
}
271-
}
272-
273262
if (isset($mbEncoding)) {
274263
mb_internal_encoding($mbEncoding);
275264
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.