42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"autoload" : {
|
|
"psr-4": {
|
|
"NC\\Updater\\": "lib/"
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
},
|
|
"classmap-authoritative": true,
|
|
"optimize-autoloader": true,
|
|
"platform": {
|
|
"php": "8.0"
|
|
},
|
|
"sort-packages": true
|
|
},
|
|
"require": {
|
|
"symfony/console": "^5.4"
|
|
},
|
|
"scripts": {
|
|
"box": "box compile -c box.json",
|
|
"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 './node_modules/*' -print0 | xargs -0 -n1 php -l",
|
|
"psalm": "psalm --threads=$(nproc)",
|
|
"psalm:ci": "psalm --threads=1",
|
|
"psalm:fix": "- --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
|
|
},
|
|
"require-dev": {
|
|
"bamarni/composer-bin-plugin": "^1.8",
|
|
"nextcloud/coding-standard": "^1.1"
|
|
},
|
|
"extra": {
|
|
"bamarni-bin": {
|
|
"bin-links": true,
|
|
"target-directory": "vendor-bin",
|
|
"forward-command": true
|
|
}
|
|
}
|
|
}
|