-
Notifications
You must be signed in to change notification settings - Fork 117
/
composer.json
49 lines (49 loc) · 1.33 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "nextcloud/richdocuments",
"type": "project",
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"platform": {
"php": "8.0"
},
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"require": {
"ext-json": "*",
"ext-simplexml": "*"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"jakub-onderka/php-parallel-lint": "^1.0.0",
"psalm/phar": "^5.3",
"friendsofphp/php-cs-fixer": "^3.8",
"nextcloud/coding-standard": "^1.0",
"nextcloud/ocp": "dev-master",
"phpunit/phpunit": "^9.5",
"bamarni/composer-bin-plugin": "^1.8"
},
"license": "AGPLv3",
"authors": [
{
"name": "Julius Härtl",
"email": "[email protected]"
}
],
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm.phar",
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType",
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml"
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP"
}
}
}