forked from nextcloud/notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
35 lines (35 loc) · 841 Bytes
/
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
{
"require-dev": {
"guzzlehttp/guzzle": "^7",
"nextcloud/coding-standard": "^1.0",
"nextcloud/ocp": "dev-stable28",
"phan/phan": "^5",
"php-cs-fixer/shim": "3.64.0",
"psalm/phar": "^5.26",
"squizlabs/php_codesniffer": "^3",
"staabm/annotate-pull-request-from-checkstyle": "^1.1.0"
},
"autoload-dev": {
"psr-4": {
"OCA\\Notes\\Tests\\API\\": "tests/api/"
}
},
"config": {
"platform": {
"php": "8.0"
},
"sort-packages": true
},
"prefer-stable": true,
"scripts": {
"test": [
"@test:unit"
],
"test:unit": "./vendor/bin/phpunit -c tests/unit/phpunit.xml",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm.phar",
"phan": "phan"
}
}