-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathcomposer.json
More file actions
20 lines (20 loc) · 851 Bytes
/
composer.json
File metadata and controls
20 lines (20 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"require": {
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.3",
"friendsofphp/php-cs-fixer": "^2.14",
"christophwurst/nextcloud": "dev-stable22 || dev-stable23",
"vimeo/psalm": "^4.5"
},
"scripts": {
"test": "phpunit --configuration phpunit.xml",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;",
"psalm": "psalm --threads=1",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"psalm:update": "psalm --set-baseline=tests/psalm-baseline.xml && psalm --update-baseline"
}
}