зеркало из https://github.com/nextcloud/guests.git
34 строки
987 B
JSON
34 строки
987 B
JSON
{
|
|
"name": "nextcloud/guests",
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"platform": {
|
|
"php": "8.0.2"
|
|
},
|
|
"sort-packages": true
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"OCP\\": "vendor/nextcloud/ocp/OCP"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"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",
|
|
"test:unit": "vendor/bin/phpunit -c phpunit.xml"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/coding-standard": "^1.1",
|
|
"nextcloud/ocp": "dev-master",
|
|
"php-parallel-lint/php-parallel-lint": "^1.2",
|
|
"phpunit/phpunit": "^9",
|
|
"vimeo/psalm": "^5.14"
|
|
}
|
|
}
|