FIX: Add PHP extension requirements to composer.

This will raise incompatibilities sooner rather than relying on the 
installer.

GD is excluded from this as it’s a requirement of silverstripe/assets
This commit is contained in:
Sam Minnee 2017-04-20 17:44:18 +12:00 committed by Sam Minnée
parent 2548bfba1e
commit 0d5e84d0b8

View File

@ -16,7 +16,6 @@
}
],
"require": {
"php": ">=5.6.0",
"composer/installers": "~1.0",
"embed/embed": "^3.0",
"league/flysystem": "~1.0.12",
@ -29,7 +28,18 @@
"symfony/config": "^2.8",
"symfony/translation": "^2.8",
"symfony/yaml": "~2.7",
"vlucas/phpdotenv": "^2.4"
"vlucas/phpdotenv": "^2.4",
"php": ">=5.6.0",
"ext-intl": "*",
"ext-mbstring": "*",
"ext-xml": "*",
"ext-simplexml": "*",
"ext-dom": "*",
"ext-tokenizer": "*",
"ext-ctype": "*",
"ext-hash": "*",
"ext-session": "*"
},
"require-dev": {
"phpunit/phpunit": "^5.7",