33 строки
993 B
JSON
33 строки
993 B
JSON
{
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\FilesAccessControl\\": "lib/"
|
|
}
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"platform": {
|
|
"php": "8.1"
|
|
},
|
|
"sort-packages": true
|
|
},
|
|
"scripts": {
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
|
|
"psalm": "psalm.phar --threads=1",
|
|
"psalm:dev": "psalm.phar --no-cache --threads=$(nproc)",
|
|
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline",
|
|
"psalm:clear": "psalm.phar --clear-cache && psalm --clear-global-cache",
|
|
"test:unit": "vendor/bin/phpunit --color -c tests/phpunit.xml",
|
|
"test:integration": "cd tests/Integration && ./run.sh"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/coding-standard": "^1.2.1",
|
|
"nextcloud/ocp": "dev-master",
|
|
"phpunit/phpunit": "^10.5.28",
|
|
"psalm/phar": "^5.25"
|
|
}
|
|
}
|