forked from nextcloud/guests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
27 lines (27 loc) · 887 Bytes
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "nextcloud/guests",
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "7.3"
}
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm --threads=1",
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "vendor/bin/phpunit -c phpunit.xml"
},
"require-dev": {
"nextcloud/coding-standard": "^1.0",
"phpunit/phpunit": "^9",
"php-parallel-lint/php-parallel-lint": "^1.2",
"christophwurst/nextcloud": "^23.0",
"vimeo/psalm": "^4.27"
}
}