mirrored from https://git.sr.ht/~ancarda/high-test-coverage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
53 lines (53 loc) · 1.42 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": "ancarda/high-test-coverage",
"description": "Classes and Interfaces to help you get higher test coverage",
"type": "library",
"license": "MIT",
"config": {
"allow-plugins": {
"infection/extension-installer": true
},
"platform": {
"php": "7.3"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"Ancarda\\HighTestCoverage\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"require": {
"php": "^7.3|^8.0"
},
"require-dev": {
"ancarda/coverage-enforcer": "^1.0",
"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": "enforce-coverage --minStmtCov 100 var/coverage/coverage.clover.xml",
"check-style": "phpcs",
"check-tests": "infection",
"fix-style": "phpcbf",
"test": "phpunit",
"check-everything": [
"@analyze",
"@check-style",
"@test",
"@check-coverage",
"@check-tests"
]
}
}