minor #34 fixed a deprecation notice when using Symfony 2.7 (fabpot)
This PR was merged into the 2.x-dev branch.
Discussion
----------
fixed a deprecation notice when using Symfony 2.7
Commits
-------
b656f10
fixed a deprecation notice when using Symfony 2.7
This commit is contained in:
commit
0df7a5f24f
|
@ -67,7 +67,7 @@ class CoreExtension implements ExtensionInterface
|
|||
);
|
||||
|
||||
if (file_exists($container['base_dir'].'/config.yml')) {
|
||||
$config = array_replace_recursive($config, Yaml::parse($container['base_dir'].'/config.yml') ?: array());
|
||||
$config = array_replace_recursive($config, Yaml::parse(file_get_contents($container['base_dir'].'/config.yml')) ?: array());
|
||||
}
|
||||
|
||||
return $config;
|
||||
|
|
Loading…
Reference in New Issue