mirrored from https://git.sr.ht/~ancarda/coverage-enforcer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
50 lines (50 loc) · 1.33 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
{
"name": "ancarda/coverage-enforcer",
"description": "Enforces a minimum Code Coverage using a Coverage Clover XML file",
"type": "project",
"license": "MIT",
"config": {
"allow-plugins": {
"infection/extension-installer": true
},
"platform": {
"php": "7.3"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"Ancarda\\CodeCoverage\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"require": {
"php": "^7.3|^8.0",
"ext-simplexml": "*",
"symfony/console": "^5.1|^6.0"
},
"require-dev": {
"composer/package-versions-deprecated": "1.11.99.1",
"infection/infection": "^0.18.2",
"phpstan/phpstan": "^0.12.82",
"phpstan/phpstan-phpunit": "^0.12.18",
"phpstan/phpstan-strict-rules": "^0.12.9",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5"
},
"scripts": {
"analyze": "phpstan",
"check-coverage": "bin/enforce-coverage --minStmtCov 100 var/coverage/coverage.clover.xml",
"check-style": "phpcs",
"check-tests": "infection",
"fix-style": "phpcbf",
"test": "phpunit"
},
"bin": [
"bin/enforce-coverage"
]
}