2018-08-06 15:12:59 +02:00
|
|
|
{
|
2021-11-03 10:22:07 +01:00
|
|
|
"config": {
|
|
|
|
"platform": {
|
2022-06-13 14:56:06 +02:00
|
|
|
"php": "7.4"
|
2021-11-03 10:22:07 +01:00
|
|
|
},
|
|
|
|
"sort-packages": true
|
|
|
|
},
|
2019-09-18 00:20:20 +02:00
|
|
|
"require": {
|
2022-06-13 14:56:06 +02:00
|
|
|
"php": ">=7.4 <=8.1"
|
2019-09-18 00:20:20 +02:00
|
|
|
},
|
2018-08-06 15:12:59 +02:00
|
|
|
"require-dev": {
|
2021-08-30 15:16:17 +02:00
|
|
|
"christophwurst/nextcloud_testing": "0.12.4",
|
2022-06-13 17:22:00 +02:00
|
|
|
"nextcloud/coding-standard": "^1.0.0"
|
2019-09-18 00:20:20 +02:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-04-15 13:05:53 +02:00
|
|
|
"cs:fix": "php-cs-fixer fix",
|
2020-04-15 15:12:00 +02:00
|
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
2021-11-30 09:10:42 +01:00
|
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './tests/*' -print0 | xargs -0 -n1 php -l",
|
2021-11-24 16:40:37 +01:00
|
|
|
"test": "phpunit --configuration phpunit.unit.xml --fail-on-warning",
|
|
|
|
"test:dev": "phpunit --configuration phpunit.unit.xml --fail-on-warning --stop-on-error --stop-on-failure"
|
2018-08-06 15:12:59 +02:00
|
|
|
}
|
|
|
|
}
|