Skip to content

Commit b249392

Browse files
committed
chore: add cover composer script
1 parent 2d53ec5 commit b249392

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
/coverage
12
/vendor
23
composer.lock

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
}
3131
},
3232
"scripts": {
33-
"test": "vendor/bin/phpunit"
33+
"test": "vendor/bin/phpunit",
34+
"cover": "php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html=coverage"
3435
}
3536
}

0 commit comments

Comments
 (0)