From b95c1dec45a1e111fa8700c278578737689c9d82 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 1 Feb 2017 18:09:25 +1300 Subject: [PATCH] Remove optional Symfony 3.x dependencies They cause issues with installing silverstripe/behat-extension after the fact, since it requires 2.x - and would need the existing project to downgrade the dep. While this should be composer's default behaviour (https://github.com/composer/composer/issues/6121), from a SilverStripe perspective we should have consistent dependencies regardless of the execution path in your require calls - anything else will lead to fragile test vs. prod errors. We can require Symfony 3.x once we've upgraded to Behat 3.x. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index dc47dfea3..79160eb4b 100644 --- a/composer.json +++ b/composer.json @@ -23,8 +23,8 @@ "symfony/yaml": "~2.7", "embed/embed": "^2.6", "swiftmailer/swiftmailer": "~5.4", - "symfony/config": "^2.8|^3", - "symfony/translation": "^2.8|^3", + "symfony/config": "^2.8", + "symfony/translation": "^2.8", "vlucas/phpdotenv": "^2.4" }, "require-dev": {