-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathcomposer.json
More file actions
40 lines (40 loc) · 905 Bytes
/
composer.json
File metadata and controls
40 lines (40 loc) · 905 Bytes
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
{
"require-dev": {
"vimeo/psalm": "^4.29",
"friendsofphp/php-cs-fixer": "^3.12",
"phpstan/phpstan": "^1.8",
"nextcloud/coding-standard": "^1.1",
"phpunit/phpunit": "^9.6"
},
"scripts": {
"phpstan": [
"@php vendor/bin/phpstan analyze --ansi"
],
"psalm": [
"@php vendor/bin/psalm"
],
"lint": [
"@composer run cs",
"@composer run phpstan",
"@composer run psalm"
],
"cs-fix": [
"@php vendor/bin/php-cs-fixer --ansi fix"
],
"cs": [
"@php vendor/bin/php-cs-fixer --ansi fix --dry-run --diff"
],
"test": [
"@php vendor/bin/phpunit -c phpunit.coverage.xml"
],
"test-coverage": [
"@putenv XDEBUG_MODE=coverage",
"@php vendor/bin/phpunit -c phpunit.coverage.xml --coverage-clover build/logs/clover.xml"
]
},
"config": {
"platform": {
"php": "8.2"
}
}
}