fix symfony/yaml >= 3.0 - #24
Conversation
|
Nop. Not a bug. |
|
Yes, but the version in composer is in ~2.1. So, no need to do that in the skeleton. Feel free to update both yaml and config in composer.json when everything is fixed though. |
|
And what if I want to use symfony/yaml 3.0 now without waiting for this to be fixed ? |
|
Does the other use of the symfony/yaml requires 3.* or is it possible to use a 2+ version ? |
|
https://github.com/symfony/yaml/blob/2.8/Yaml.php#L36 passing a filename is deprecated since 2.2. I think passing the file_get_contents is the right way to do it anyway. |
|
A lot of libs allow to use both v2 and v3. If nothing requires to upgrade to v3 we are not in trouble so far. |
|
And if you really want to upgrade to yaml v3 before config is compatible, create the class you wanted to put in the skeleton in your own project. |
|
Won't be possible because symfony/yaml is specified to be ~2.1 here. Edit : My bad, because we clone the skeleton this is doable. |
There is a bug in igorw/config-service-provider with the symfony/yaml >= 3.0.
There is a PR to fix it, it's not merged yet so we need to fix it here.
igorw/ConfigServiceProvider#46