-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
30 lines (30 loc) · 929 Bytes
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"name": "nextcloud/monthly_notifications",
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "7.3"
},
"sort-packages": true
},
"require": {
"php": ">=7.3"
},
"require-dev": {
"nextcloud/coding-standard": "^1.0.0",
"nextcloud/ocp": "dev-stable22",
"phpunit/phpunit": "^9",
"psalm/phar": "^5.4"
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm.phar --threads=1",
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline",
"psalm:clear": "psalm.phar --clear-cache && psalm.phar --clear-global-cache",
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "phpunit -c tests/phpunit.xml"
}
}