23 строки
908 B
JSON
23 строки
908 B
JSON
{
|
|
"require": {
|
|
"sabre/xml": "^1.2",
|
|
"sabre/uri": "~1.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^8.5 || ^9.3",
|
|
"friendsofphp/php-cs-fixer": "^2.14",
|
|
"christophwurst/nextcloud": "dev-stable20 || dev-stable21",
|
|
"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"
|
|
}
|
|
}
|