Fix Yaml::parse() errors

Of course this might be just a temporary fix for:

"The ability to pass file names to Yaml::parse() was deprecated in 2.7 and will be removed in 3.0. Please, pass the contents of the file instead."
Marking Doctrine as incompatible with Symfony 2.7 is not a fix