-
Notifications
You must be signed in to change notification settings - Fork 19
/
composer.json
43 lines (43 loc) · 1.43 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "nextcloud/health",
"description": "Lint config for nextcloud/health",
"type": "project",
"license": "AGPL",
"authors": [
{
"name": "Florian Steffens",
"email": "dev@d10t.de"
}
],
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.1"
}
},
"scripts": {
"test": [
"@test:unit"
],
"test:unit": "./vendor/bin/phpunit -c tests/unit/phpunit.xml",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "./vendor/bin/psalm --show-info=true --no-cache",
"psalm:update-baseline": "./vendor/bin/psalm --update-baseline",
"psalm:fix": "./vendor/bin/psalm --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType",
"psalm:fix:dry": "./vendor/bin/psalm --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType --dry-run"
},
"require": {
"ext-json": "*"
},
"require-dev": {
"nextcloud/coding-standard": "^v1.0.0",
"vimeo/psalm": "^5.6.0",
"nextcloud/ocp": "dev-master",
"phan/phan": "5.x",
"staabm/annotate-pull-request-from-checkstyle": "^1.8",
"phpunit/phpunit": "^9"
}
}