Fix deprecated using of Yaml::parse().

https://github.com/symfony/Yaml/blob/master/Yaml.php#L58