Skip to content

Commit

Permalink
Add test coverage report in strict mode
Browse files Browse the repository at this point in the history
Add ability to generate test coverage report in strict mode.
  • Loading branch information
sbreker committed Aug 2, 2024
1 parent 5371489 commit 2ab1574
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"scripts": {
"test": "phpunit",
"test-cov": "@php -dpcov.enabled=1 -dpcov.directory=. ./vendor/composer/bin/phpunit --coverage-html=.coverage/html",
"test-cov-strict": "@php -dpcov.enabled=1 -dpcov.directory=. ./vendor/composer/bin/phpunit --coverage-html=.coverage/html --strict-coverage",
"php-cs-fixer": "php-cs-fixer"
}
}

0 comments on commit 2ab1574

Please sign in to comment.