Closed enaza closed 9 years ago
I guess this error occurs because you are using dev
as minimum stability in your main composer.json file ?
Yes, probably. A stable version not have this problem?
No. Using dev as project stability is a bad practice.
https://igor.io/2013/02/07/composer-stability-flags.html
Related to #29
"name": "PHP User Deprecated Warning", "message": "The ability to pass file names to the Symfony\Component\Yaml\Yaml::parse method is deprecated since version 2.2 and will be removed in 3.0. Pass the YAML contents of the file instead.", "code": 16384, "type": "yii\base\ErrorException",
class NeoClientCoreExtension extends AbstractExtension { public static function getAvailableCommands() { return Yaml::parse(DIR.'/../Resources/extensions/core_commands.yml');
}
Must be
class NeoClientCoreExtension extends AbstractExtension { public static function getAvailableCommands() { return Yaml::parse(file_get_contents(DIR.'/../Resources/extensions/core_commands.yml'));
}