Add composer min php
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
3f9b37e69f
commit
b0e1808b1b
|
@ -1,12 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "nextcloud/contacts",
|
"name": "nextcloud/contacts",
|
||||||
"require-dev": {
|
|
||||||
"christophwurst/nextcloud_testing": "^0.10.0",
|
|
||||||
"nextcloud/coding-standard": "^0.3.0"
|
|
||||||
},
|
|
||||||
"config": {
|
"config": {
|
||||||
"optimize-autoloader": true,
|
"optimize-autoloader": true,
|
||||||
"classmap-authoritative": true
|
"classmap-authoritative": true,
|
||||||
|
"platform": {
|
||||||
|
"php": "7.2"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"cs:fix": "php-cs-fixer fix",
|
"cs:fix": "php-cs-fixer fix",
|
||||||
|
@ -14,5 +13,10 @@
|
||||||
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
|
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
|
||||||
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
|
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
|
||||||
"test:integration": "phpunit -c phpunit.integration.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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue