Skip to content

Commit f055f68

Browse files
committed
build: add script for html code coverage
Add script for HTML code coverage #15
1 parent 2163de3 commit f055f68

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"require-dev": {
3030
"phpmd/phpmd": "^2.6",
3131
"phpunit/phpunit": "^9.0",
32-
"squizlabs/php_codesniffer": "^3.6.2"
32+
"squizlabs/php_codesniffer": "^3.7"
3333
},
3434
"minimum-stability": "stable",
3535
"autoload": {
@@ -39,7 +39,7 @@
3939
},
4040
"autoload-dev": {
4141
"psr-4": {
42-
"Josantonius\\Json\\": "tests/"
42+
"Josantonius\\Json\\Tests\\": "tests/"
4343
}
4444
},
4545
"config": {
@@ -55,6 +55,7 @@
5555
"fix": [
5656
"vendor/bin/phpcbf src tests"
5757
],
58+
"htmlCoverage": "vendor/bin/phpunit --coverage-html coverage",
5859
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');",
5960
"phpmd": "vendor/bin/phpmd src,tests text ./phpmd.xml",
6061
"phpunit": "vendor/bin/phpunit --colors=always;",

0 commit comments

Comments
 (0)