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.
This commit is contained in:
Samuel Georges 2018-08-16 12:18:16 +10:00
parent 8cbfd6611a
commit f12f3af37f
1 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,10 @@
] ]
}, },
"config": { "config": {
"preferred-install": "dist" "preferred-install": "dist",
"platform": {
"php": "7.0"
}
}, },
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true, "prefer-stable": true,