2020-04-14 17:43:12 +03:00
|
|
|
{
|
2020-11-30 22:56:02 +03:00
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"OCP\\": "vendor/christophwurst/nextcloud/OCP",
|
|
|
|
"OCA\\Talk\\": "lib/"
|
|
|
|
}
|
|
|
|
},
|
2020-04-14 17:43:12 +03:00
|
|
|
"scripts": {
|
|
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
2020-05-13 14:36:51 +03:00
|
|
|
"cs:fix": "php-cs-fixer fix",
|
2020-10-09 12:28:46 +03:00
|
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
|
2020-11-02 15:24:29 +03:00
|
|
|
"psalm": "psalm --threads=1",
|
2020-11-26 15:51:56 +03:00
|
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
|
2020-11-02 15:24:29 +03:00
|
|
|
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
|
2020-10-09 12:28:46 +03:00
|
|
|
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
|
2020-04-14 17:43:12 +03:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2020-12-17 21:31:09 +03:00
|
|
|
"nextcloud/coding-standard": "^0.4.0",
|
2021-01-04 14:58:25 +03:00
|
|
|
"vimeo/psalm": "^4.3.2",
|
|
|
|
"christophwurst/nextcloud": "dev-master@dev"
|
2020-04-14 17:43:12 +03:00
|
|
|
}
|
|
|
|
}
|