-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathcomposer.json
More file actions
74 lines (74 loc) · 2.19 KB
/
composer.json
File metadata and controls
74 lines (74 loc) · 2.19 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "nextcloud/app_api",
"description": "Nextcloud AppAPI provides a new API for external apps on different programming languages",
"type": "project",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "Andrey Borysenko",
"email": "andrey18106x@gmail.com",
"homepage": "https://github.com/andrey18106"
},
{
"name": "Alexander Piskun",
"email": "bigcat88@icloud.com",
"homepage": "https://github.com/bigcat88"
}
],
"require-dev": {
"nextcloud/ocp": "dev-master",
"roave/security-advisories": "dev-latest",
"psalm/phar": "6.7.x",
"nextcloud/coding-standard": "^1.1",
"friendsofphp/php-cs-fixer": "3.94.1",
"bamarni/composer-bin-plugin": "^1.9"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix ./lib --dry-run --diff",
"cs:fix": "php-cs-fixer fix ./lib",
"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": "vendor/bin/phpunit -c tests/php/phpunit.xml --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations",
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
],
"post-update-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
]
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.2"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"OCA\\AppAPI\\": "lib/"
}
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP"
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": false
}
},
"require": {
"ext-simplexml": "*",
"php": ">=8.2.0"
}
}