2018-08-06 13:12:59 +00:00
|
|
|
{
|
2021-11-03 09:22:07 +00:00
|
|
|
"config": {
|
|
|
|
"platform": {
|
2023-12-05 10:25:36 +00:00
|
|
|
"php": "8.0"
|
2021-11-03 09:22:07 +00:00
|
|
|
},
|
2023-01-20 11:07:06 +00:00
|
|
|
"sort-packages": true,
|
|
|
|
"optimize-autoloader": true,
|
2023-02-10 14:18:19 +00:00
|
|
|
"autoloader-suffix": "Calendar",
|
|
|
|
"allow-plugins": {
|
|
|
|
"bamarni/composer-bin-plugin": true
|
|
|
|
}
|
2023-01-20 11:07:06 +00:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"OCA\\Calendar\\": "lib/"
|
|
|
|
}
|
2021-11-03 09:22:07 +00:00
|
|
|
},
|
2019-09-17 22:20:20 +00:00
|
|
|
"require": {
|
2023-12-05 10:25:36 +00:00
|
|
|
"php": ">= 8.0 <=8.3",
|
2023-06-06 23:20:10 +00:00
|
|
|
"bamarni/composer-bin-plugin": "^1.8.2"
|
2019-09-17 22:20:20 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-04-15 11:05:53 +00:00
|
|
|
"cs:fix": "php-cs-fixer fix",
|
2020-04-15 13:12:00 +00:00
|
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
2021-11-30 08:10:42 +00:00
|
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './tests/*' -print0 | xargs -0 -n1 php -l",
|
2023-06-28 13:19:59 +00:00
|
|
|
"psalm": "psalm",
|
2021-11-24 15:40:37 +00:00
|
|
|
"test": "phpunit --configuration phpunit.unit.xml --fail-on-warning",
|
2023-02-10 14:18:19 +00:00
|
|
|
"test:dev": "phpunit --configuration phpunit.unit.xml --fail-on-warning --stop-on-error --stop-on-failure",
|
2023-06-12 08:58:54 +00:00
|
|
|
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning",
|
|
|
|
"test:integration:dev": "phpunit -c phpunit.integration.xml --no-coverage --order-by=defects --stop-on-defect --fail-on-warning --stop-on-error --stop-on-failure",
|
2023-02-10 14:18:19 +00:00
|
|
|
"post-install-cmd": [
|
|
|
|
"@composer bin all install --ansi"
|
|
|
|
],
|
|
|
|
"post-update-cmd": [
|
|
|
|
"@composer bin all update --ansi"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"bamarni-bin": {
|
|
|
|
"bin-links": true,
|
|
|
|
"forward-command": false
|
|
|
|
}
|
2018-08-06 13:12:59 +00:00
|
|
|
}
|
|
|
|
}
|