36 строки
1.2 KiB
JSON
36 строки
1.2 KiB
JSON
{
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"OCP\\": "vendor/nextcloud/ocp/OCP",
|
|
"OCA\\FilesDownloadActivity\\": "lib/"
|
|
}
|
|
},
|
|
"name": "nextcloud/files_downloadactivity",
|
|
"description": "Creates activities for downloads of files that were shared with other users or a group",
|
|
"license": "AGPL",
|
|
"require-dev": {
|
|
"nextcloud/coding-standard": "^1.0.0",
|
|
"nextcloud/ocp": "dev-master",
|
|
"phpunit/phpunit": "^9.5",
|
|
"vimeo/psalm": "^5.4.0"
|
|
},
|
|
"config": {
|
|
"classmap-authoritative": true,
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true,
|
|
"platform": {
|
|
"php": "8.1"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -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 --set-baseline=tests/psalm-baseline.xml",
|
|
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
|
|
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
|
|
"test:unit": "vendor/bin/phpunit --color -c tests/phpunit.xml"
|
|
}
|
|
}
|