aboutsummaryrefslogtreecommitdiffhomepage
path: root/composer.json
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-08-05 10:59:39 +0200
committerArthurHoaro <arthur@hoa.ro>2017-08-05 10:59:39 +0200
commit8911863019870a9827a278244ff85a943016d50d (patch)
tree5a9cc943a1a0514bc9c0e6bbbdc1cdfb7239efab /composer.json
parentfccfa09df84011f363311c44fa1b374ba7cd9af8 (diff)
downloadShaarli-8911863019870a9827a278244ff85a943016d50d.tar.gz
Shaarli-8911863019870a9827a278244ff85a943016d50d.tar.zst
Shaarli-8911863019870a9827a278244ff85a943016d50d.zip
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.
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index 792c43d3..756ea588 100644
--- a/composer.json
+++ b/composer.json
@@ -9,6 +9,11 @@
9 "wiki": "https://github.com/shaarli/Shaarli/wiki" 9 "wiki": "https://github.com/shaarli/Shaarli/wiki"
10 }, 10 },
11 "keywords": ["bookmark", "link", "share", "web"], 11 "keywords": ["bookmark", "link", "share", "web"],
12 "config": {
13 "platform": {
14 "php": "5.5.38"
15 }
16 },
12 "require": { 17 "require": {
13 "php": ">=5.5", 18 "php": ">=5.5",
14 "shaarli/netscape-bookmark-parser": "^2.0", 19 "shaarli/netscape-bookmark-parser": "^2.0",