diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-09-04 22:16:21 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-09-04 22:16:21 +0200 |
commit | b0e1808b1be4873fa58e310c84b82d99794d7812 (patch) | |
tree | 2a5c6372770c0ffeaaed54f9ed90c54f0b593ad8 /composer.json | |
parent | 3f9b37e69f4849ad8fb3ff3a29e766c4de6c8ddd (diff) |
Add composer min php
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 14 |
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" } } |