From 8911863019870a9827a278244ff85a943016d50d Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 5 Aug 2017 10:59:39 +0200 Subject: Fix PHP version configuration in composer.json Without this setting, composer would download dependencies depending on the PHP version installed on the system. E.G. I was getting doctrine/instantiator 1.1, which requires at least PHP 7.1. --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 792c43d3..756ea588 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,11 @@ "wiki": "https://github.com/shaarli/Shaarli/wiki" }, "keywords": ["bookmark", "link", "share", "web"], + "config": { + "platform": { + "php": "5.5.38" + } + }, "require": { "php": ">=5.5", "shaarli/netscape-bookmark-parser": "^2.0", -- cgit v1.2.3