1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Update Symfony2 vendors

This commit is contained in:
Fabien Potencier 2011-06-14 17:01:33 +02:00
parent df500033bf
commit b37c8f6a23
4 changed files with 5 additions and 5 deletions

View File

@ -506,6 +506,6 @@ class YamlDriver extends AbstractFileDriver
*/ */
protected function _loadMappingFile($file) protected function _loadMappingFile($file)
{ {
return \Symfony\Component\Yaml\Yaml::load($file); return \Symfony\Component\Yaml\Yaml::parse($file);
} }
} }

View File

@ -70,10 +70,10 @@ class ConvertDoctrine1Schema
if (is_dir($path)) { if (is_dir($path)) {
$files = glob($path . '/*.yml'); $files = glob($path . '/*.yml');
foreach ($files as $file) { foreach ($files as $file) {
$schema = array_merge($schema, (array) \Symfony\Component\Yaml\Yaml::load($file)); $schema = array_merge($schema, (array) \Symfony\Component\Yaml\Yaml::parse($file));
} }
} else { } else {
$schema = array_merge($schema, (array) \Symfony\Component\Yaml\Yaml::load($path)); $schema = array_merge($schema, (array) \Symfony\Component\Yaml\Yaml::parse($path));
} }
} }

@ -1 +1 @@
Subproject commit 4200b4bc95ae3c1b03d943cd875277e35a17898a Subproject commit 3762cec59aaecf1e55ed92b2b0b3e7f2d602d09a

@ -1 +1 @@
Subproject commit 3d864452ca73ae5409f1434b65f0c7204a50e061 Subproject commit c3e1d03effe339de6940f69a4d0278ea34665702