summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json14
1 files changed, 9 insertions, 5 deletions
diff --git a/composer.json b/composer.json
index 25283e3e..6ce656c3 100644
--- a/composer.json
+++ b/composer.json
@@ -1,12 +1,11 @@
{
"name": "nextcloud/contacts",
- "require-dev": {
- "christophwurst/nextcloud_testing": "^0.10.0",
- "nextcloud/coding-standard": "^0.3.0"
- },
"config": {
"optimize-autoloader": true,
- "classmap-authoritative": true
+ "classmap-authoritative": true,
+ "platform": {
+ "php": "7.2"
+ }
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
@@ -14,5 +13,10 @@
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning"
+ },
+ "require-dev": {
+ "christophwurst/nextcloud_testing": "^0.10.0",
+ "nextcloud/coding-standard": "^0.3.0",
+ "phpunit/phpunit": "^7"
}
}