-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomposer.json
More file actions
50 lines (50 loc) · 1.46 KB
/
composer.json
File metadata and controls
50 lines (50 loc) · 1.46 KB
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": "g4/code-coverage",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Drasko Gomboc",
"email": "drasko.gomboc@gmail.com"
}
],
"autoload": {
"psr-4": {
"G4\\CodeCoverage\\": "src/"
}
},
"require": {
"php": ">=8.2",
"ext-simplexml": "*",
"g4/value-object": "*",
"vanilla/garden-cli": "4.*",
"questocat/console-color": "1.*"
},
"require-dev": {
"phpunit/phpunit": "10.*",
"squizlabs/php_codesniffer" : "3.*"
},
"scripts": {
"unit-test": [
"XDEBUG_MODE=coverage ./vendor/bin/phpunit -c tests/unit/phpunit.xml --coverage-html tests/unit/coverage"
],
"test-coverage": [
"XDEBUG_MODE=coverage ./vendor/bin/phpunit --colors=always -c tests/unit/phpunit.xml --coverage-text"
],
"test-report": [
"XDEBUG_MODE=coverage ./vendor/bin/phpunit --colors=always -c tests/unit/phpunit.xml --coverage-clover=tests/unit/coverage/code-coverage.xml"
],
"code-coverage": [
"XDEBUG_MODE=coverage ./bin/code-coverage -p 85 -f tests/unit/coverage/code-coverage.xml"
],
"psr2": [
"./vendor/bin/phpcs --colors --standard=PSR2 src/"
],
"psr2-fix": [
"./vendor/bin/phpcbf --colors --standard=PSR2 src/"
]
},
"bin": [
"bin/code-coverage"
]
}