2016-01-10 09:59:30 +01:00
|
|
|
{
|
2021-08-19 10:48:44 +02:00
|
|
|
"config": {
|
|
|
|
"vendor-dir": "lib/composer",
|
|
|
|
"optimize-autoloader": true,
|
|
|
|
"sort-packages": true,
|
|
|
|
"platform": {
|
2022-11-07 10:50:03 +01:00
|
|
|
"php": "8.0"
|
2021-12-27 09:57:29 +01:00
|
|
|
},
|
|
|
|
"allow-plugins": {
|
|
|
|
"bamarni/composer-bin-plugin": true
|
2021-08-19 10:48:44 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload": {
|
2021-04-16 09:22:05 +02:00
|
|
|
"files": [
|
|
|
|
"lib/public/Log/functions.php"
|
|
|
|
],
|
2021-08-19 10:48:44 +02:00
|
|
|
"psr-4": {
|
2020-04-01 20:44:29 +02:00
|
|
|
"": "lib/private/legacy",
|
2021-08-19 10:48:44 +02:00
|
|
|
"OC\\": "lib/private",
|
|
|
|
"OC\\Core\\": "core/",
|
|
|
|
"OCP\\": "lib/public"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"require": {
|
2022-11-07 10:50:03 +01:00
|
|
|
"php": "^8.0",
|
2023-10-24 09:17:25 +02:00
|
|
|
"ext-ctype": "*",
|
|
|
|
"ext-curl": "*",
|
|
|
|
"ext-dom": "*",
|
|
|
|
"ext-fileinfo": "*",
|
|
|
|
"ext-gd": "*",
|
2021-08-19 10:48:44 +02:00
|
|
|
"ext-json": "*",
|
|
|
|
"ext-libxml": "*",
|
|
|
|
"ext-mbstring": "*",
|
2023-02-20 14:48:06 +01:00
|
|
|
"ext-openssl": "*",
|
2021-08-19 10:48:44 +02:00
|
|
|
"ext-pdo": "*",
|
2023-10-24 09:17:25 +02:00
|
|
|
"ext-posix": "*",
|
|
|
|
"ext-session": "*",
|
2021-08-19 10:48:44 +02:00
|
|
|
"ext-simplexml": "*",
|
2023-10-24 09:17:25 +02:00
|
|
|
"ext-xml": "*",
|
2021-08-19 10:48:44 +02:00
|
|
|
"ext-xmlreader": "*",
|
2023-10-24 09:17:25 +02:00
|
|
|
"ext-xmlwriter": "*",
|
|
|
|
"ext-zip": "*",
|
|
|
|
"ext-zlib": "*"
|
2021-08-19 10:48:44 +02:00
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"bamarni/composer-bin-plugin": "^1.4"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"post-install-cmd": [
|
|
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install",
|
|
|
|
"composer dump-autoload"
|
|
|
|
],
|
|
|
|
"post-update-cmd": [
|
|
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi",
|
|
|
|
"composer dump-autoload"
|
|
|
|
],
|
|
|
|
"cs:fix": "php-cs-fixer fix",
|
|
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
|
|
"lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l",
|
2023-07-03 11:26:30 +02:00
|
|
|
"psalm": "psalm --no-cache --threads=$(nproc)",
|
|
|
|
"psalm:ci": "psalm --no-cache --threads=1",
|
2023-09-28 13:20:49 +02:00
|
|
|
"psalm:update-baseline": "psalm --no-cache --threads=$(nproc) --update-baseline",
|
|
|
|
"test": "phpunit --configuration tests/phpunit-autotest.xml",
|
|
|
|
"test:db": "@composer run test -- --group DB,SLOWDB",
|
|
|
|
"test:files_external": "phpunit --configuration tests/phpunit-autotest-external.xml"
|
2021-08-19 10:48:44 +02:00
|
|
|
}
|
2016-01-10 09:59:30 +01:00
|
|
|
}
|