-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
53 lines (53 loc) · 1.59 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
{
"name": "codebtech/coveragebadge",
"description": "Creates code coverage badge from Clover XML files.",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Mohan Raj",
"homepage": "https://github.com/m0hanraj"
}
],
"homepage": "https://github.com/codebtech/coveragebadge",
"require-dev": {
"ergebnis/composer-normalize": "^2.42",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpstan/phpstan-strict-rules": "^1.6",
"phpunit/phpunit": "^11.1",
"slevomat/coding-standard": "^8.15",
"squizlabs/php_codesniffer": "^3.10",
"phpmd/phpmd": "^2.15"
},
"autoload": {
"psr-4": {
"CodeB\\CoverageBadge\\": [
"",
"src/"
]
}
},
"autoload-dev": {
"psr-4": {
"CodeB\\CoverageBadge\\Tests\\": "tests/"
}
},
"bin": [
"bin/coverage-badge"
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
}
},
"scripts": {
"lint": "phpcs",
"lint:fix": "phpcbf",
"php:badge": "bin/coverage-badge coverage/clover.xml badges/php.svg PHP",
"phpmd": "phpmd coverage-badge.php,src text phpmd.xml --color",
"phpstan": "phpstan analyse --memory-limit=2048M",
"test": "phpunit --testdox --coverage-clover coverage/clover.xml --coverage-html coverage --coverage-filter src/"
}
}