-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
46 lines (46 loc) · 1.24 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
{
"name": "willpower232/cloverparser",
"type": "library",
"description": "An extensible class for totalling the unit test coverage from Clover files",
"license": "MIT",
"require": {
"php": "^7.4 || ^8.0",
"ext-xml": "*"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.0 || ^11.0",
"robiningelbrecht/phpunit-coverage-tools": "^1.8",
"squizlabs/php_codesniffer": "^3.6"
},
"autoload": {
"psr-4": {
"WillPower232\\CloverParser\\": "src/",
"WillPower232\\CloverParser\\Tests\\": "tests/"
}
},
"scripts": {
"analyse": [
"phpstan analyse --level 8 src tests"
],
"lint": [
"parallel-lint --exclude vendor ."
],
"phpunit": [
"XDEBUG_MODE=coverage phpunit -d --min-coverage=100 --coverage-clover coverage.clover tests"
],
"sniff": [
"phpcs --standard=PSR12 src/ tests/"
],
"test": [
"@sniff",
"@lint",
"@analyse",
"@phpunit"
]
},
"config": {
"sort-packages": true
}
}