From f12f3af37f491f26fe101c3a01458fa467455df0 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Thu, 16 Aug 2018 12:18:16 +1000 Subject: [PATCH] By default assert the app will want 7.0 packages This addresses an issue with Symfony and a trajectory towards towards DLL hell (see Ruby on Rails). October imports Laravel that then imports Symfony for the translation packages. These packages are subjective to the PHP version running at the time. When running PHP 7.1 a version of the package is included that is incompatible with PHP 7.0. Whilst clever, it is far from simple. If problems are encountered by this change, simply customise your composer.json file to remove it. --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a26edd05c..0f57b3539 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,10 @@ ] }, "config": { - "preferred-install": "dist" + "preferred-install": "dist", + "platform": { + "php": "7.0" + } }, "minimum-stability": "dev", "prefer-stable": true,