2020-09-10 23:53:26 +03:00
|
|
|
{
|
2023-02-28 14:46:05 +03:00
|
|
|
"config": {
|
|
|
|
"optimize-autoloader": true,
|
|
|
|
"classmap-authoritative": true,
|
|
|
|
"platform": {
|
2023-07-27 15:42:30 +03:00
|
|
|
"php": "8.0.2"
|
2023-02-28 14:46:05 +03:00
|
|
|
},
|
|
|
|
"autoloader-suffix": "WorkflowScript"
|
|
|
|
},
|
|
|
|
"autoload": {
|
2021-01-15 00:28:17 +03:00
|
|
|
"psr-4": {
|
|
|
|
"OCA\\WorkflowScript\\": "lib/"
|
|
|
|
}
|
|
|
|
},
|
2023-02-28 14:46:05 +03:00
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"OCP\\": "vendor/nextcloud/ocp/OCP"
|
|
|
|
}
|
|
|
|
},
|
2021-01-15 00:28:17 +03:00
|
|
|
"scripts": {
|
|
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
|
|
"cs:fix": "php-cs-fixer fix",
|
2023-02-28 15:04:26 +03:00
|
|
|
"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"
|
2021-01-15 00:28:17 +03:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2023-02-28 15:04:26 +03:00
|
|
|
"nextcloud/coding-standard": "^1.0.0",
|
|
|
|
"nextcloud/ocp": "dev-master",
|
2023-08-26 05:16:00 +03:00
|
|
|
"vimeo/psalm": "^5"
|
2021-01-15 00:28:17 +03:00
|
|
|
}
|
2020-09-10 23:53:26 +03:00
|
|
|
}
|