-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcomposer.json
More file actions
45 lines (45 loc) · 1.2 KB
/
composer.json
File metadata and controls
45 lines (45 loc) · 1.2 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
{
"name": "nextcloud/sharelisting",
"description": "-",
"type": "project",
"license": "AGPL",
"require-dev": {
"nextcloud/ocp": "dev-stable31"
},
"scripts": {
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
],
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm --threads=1",
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "phpunit --configuration tests/phpunit.xml"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"bamarni/composer-bin-plugin": true
},
"platform": {
"php": "8.1"
}
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP"
}
},
"require": {
"nikic/iter": "^2.4",
"symfony/serializer": "^5.4",
"bamarni/composer-bin-plugin": "^1.8",
"swaggest/json-diff": "^3.12"
}
}