Skip to content

Commit

Permalink
Update coverage command
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Dec 6, 2020
1 parent 868e2e6 commit 7998faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
],
"test": ["vendor/bin/phpunit"],
"tests": ["@cs", "@sa", "@test"],
"coverage": ["php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"pcov": ["php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml"],
"cs": ["./vendor/bin/phpcs --standard=phpcs.xml src tests"],
"cs-fix": ["./vendor/bin/phpcbf src tests"],
Expand Down

0 comments on commit 7998faa

Please sign in to comment.