35 строки
981 B
JSON
35 строки
981 B
JSON
{
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"platform": {
|
|
"php": "8.0.2"
|
|
},
|
|
"autoloader-suffix": "WorkflowScript"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\WorkflowScript\\": "lib/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"OCP\\": "vendor/nextcloud/ocp/OCP"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
|
|
"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"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/coding-standard": "^1.0.0",
|
|
"nextcloud/ocp": "dev-master",
|
|
"vimeo/psalm": "^5"
|
|
}
|
|
}
|