Commit a31dd13b authored by Thorsten Buss's avatar Thorsten Buss

move back to yaml 2.2.X, cause phpParsing is deprecated on 2.3

parent 2e5e09c5
......@@ -7,7 +7,7 @@
"require": {
"php": ">=5.3.8",
"aws/aws-sdk-php": "~2.5",
"symfony/yaml": "~2.4",
"symfony/yaml": "<2.3",
"herzult/php-ssh": "@dev",
"knplabs/gaufrette": "~0.1"
},
......
......@@ -3,7 +3,7 @@
"This file locks the dependencies of your project to a known state",
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
],
"hash": "1ba2c29f6809acbc96f4eec922132971",
"hash": "7285de7b94f6aa94f82d12286e9fbb8f",
"packages": [
{
"name": "aws/aws-sdk-php",
......@@ -353,17 +353,17 @@
},
{
"name": "symfony/yaml",
"version": "v2.4.2",
"version": "v2.2.11",
"target-dir": "Symfony/Component/Yaml",
"source": {
"type": "git",
"url": "https://github.com/symfony/Yaml.git",
"reference": "bb6ddaf8956139d1b8c360b4b713ed0138e876b3"
"reference": "4f3569bb23953116281fb3a642c4266ce84a2f44"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/Yaml/zipball/bb6ddaf8956139d1b8c360b4b713ed0138e876b3",
"reference": "bb6ddaf8956139d1b8c360b4b713ed0138e876b3",
"url": "https://api.github.com/repos/symfony/Yaml/zipball/4f3569bb23953116281fb3a642c4266ce84a2f44",
"reference": "4f3569bb23953116281fb3a642c4266ce84a2f44",
"shasum": ""
},
"require": {
......@@ -372,7 +372,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.4-dev"
"dev-master": "2.2-dev"
}
},
"autoload": {
......@@ -398,7 +398,7 @@
],
"description": "Symfony Yaml Component",
"homepage": "http://symfony.com",
"time": "2014-01-07 13:28:54"
"time": "2013-11-25 10:21:43"
}
],
"packages-dev": [
......
......@@ -46,6 +46,7 @@ class RepositoryManager {
}
try {
Yaml::enablePhpParsing();
$config = Yaml::parse($resource);
} catch (ParseException $e) {
throw new InvalidResourceException('Error parsing YAML.', 0, $e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment