-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
37 lines (37 loc) · 924 Bytes
/
composer.json
File metadata and controls
37 lines (37 loc) · 924 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
{
"name": "fig/attributes",
"require": {
"php": "~8.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.87.1",
"phpstan/phpstan": "^2.1.11",
"phpunit/phpunit": "^11.1.0"
},
"autoload": {
"psr-4": {
"Fig\\Attributes\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Fig\\Attributes\\": "tests"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"test-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover=coverage-clover.xml",
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-html=\"build/coverage\"",
"phpstan": "vendor/bin/phpstan analyze --memory-limit=-1",
"cs": "vendor/bin/php-cs-fixer check --diff",
"cs-fix": "vendor/bin/php-cs-fixer fix --diff",
"all-checks": [
"@test",
"@phpstan",
"@cs"
]
},
"config": {
"sort-packages": true
}
}