2020-01-23 15:42:10 +03:00
|
|
|
{
|
2020-07-13 13:31:59 +03:00
|
|
|
"name": "nextcloud/viewer",
|
|
|
|
"config": {
|
|
|
|
"optimize-autoloader": true,
|
2020-09-04 23:15:36 +03:00
|
|
|
"classmap-authoritative": true,
|
|
|
|
"platform": {
|
2023-01-16 17:21:06 +03:00
|
|
|
"php": "8.0"
|
2020-09-04 23:15:36 +03:00
|
|
|
}
|
2020-07-13 13:31:59 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"cs:fix": "php-cs-fixer fix",
|
|
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
2023-02-09 13:28:53 +03:00
|
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './composer/*' -print0 | xargs -0 -n1 php -l",
|
2022-10-02 13:13:23 +03:00
|
|
|
"psalm": "psalm --threads=1",
|
|
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
|
|
|
|
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
|
2023-02-09 13:28:53 +03:00
|
|
|
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
|
2020-07-13 13:31:59 +03:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2022-02-26 05:04:15 +03:00
|
|
|
"nextcloud/coding-standard": "^1.0.0",
|
2022-10-02 13:13:23 +03:00
|
|
|
"phpunit/phpunit": "^9",
|
|
|
|
"vimeo/psalm": "^4.3.2",
|
|
|
|
"nextcloud/ocp": "dev-master"
|
2020-07-13 13:31:59 +03:00
|
|
|
}
|
2020-01-23 15:42:10 +03:00
|
|
|
}
|