Add composer min php

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-09-04 22:16:21 +02:00
parent 3f9b37e69f
commit b0e1808b1b
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 9 additions and 5 deletions

View File

@ -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"
}
}