-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
composer.json
executable file
·57 lines (57 loc) · 2.05 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
50
51
52
53
54
55
56
57
{
"name": "nextcloud/mediadc",
"description": "Nextcloud Media Duplicate Collector application",
"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": "^5.15",
"phpunit/phpunit": "^9.5",
"nextcloud/coding-standard": "^1.1",
"friendsofphp/php-cs-fixer": "^3.16"
},
"scripts": {
"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.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": "8.1"
}
},
"autoload": {
"psr-4": {
"OCA\\MediaDC\\": "lib/"
}
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP"
}
}
}