-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
48 lines (48 loc) · 2.03 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
{
"name": "nextcloud/api_gateway_framework",
"description": "Nextcloud API Gateway Framework for developing apps on different programming languages",
"type": "project",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "Andrey Borysenko",
"email": "[email protected]",
"homepage": "https://github.com/andrey18106"
},
{
"name": "Alexander Piskun",
"email": "[email protected]",
"homepage": "https://github.com/bigcat88"
}
],
"require-dev": {
"nextcloud/ocp": "dev-master",
"roave/security-advisories": "dev-master",
"psalm/phar": "4.30.0",
"phpunit/phpunit": "^9.5",
"nextcloud/coding-standard": "^1.0",
"friendsofphp/php-cs-fixer": "^3.13",
"php-mock/php-mock-phpunit": "^2.6"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './3rdparty/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm.phar --threads=1",
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline",
"psalm:update-baseline:force": "psalm.phar --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
"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.unit.xml --fail-on-warning",
"test:unit:coverage": "XDEBUG_MODE=coverage phpunit -c tests/phpunit.unit.xml --fail-on-warning --coverage-html=tests/coverage/php/unit --coverage-clover=tests/coverage/php/unit/clover.xml",
"test:integration": "phpunit -c tests/phpunit.integration.xml --fail-on-warning",
"test:integration:coverage": "XDEBUG_MODE=coverage phpunit -c tests/phpunit.integration.xml --fail-on-warning --coverage-html=tests/coverage/php/integration --coverage-clover=tests/coverage/php/integration/clover.xml"
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "7.4"
}
}
}