Skip to content

Commit

Permalink
Added a custom composer test-no-coverage option to allow running phpu…
Browse files Browse the repository at this point in the history
…nit on servers where xdebug or any code coverage driver is not installed
  • Loading branch information
rotexdegba committed Mar 2, 2025
1 parent 7b9d1c1 commit 2d41d09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit --coverage-text"
],
"test-no-coverage": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit --no-coverage"
],
"post-create-project-cmd": [
"SMVC_PostComposerCreateHandler::exec",
"php -r \" unlink('./src/smvc-tools/post-composer-create-project.php'); \" ",
Expand Down

0 comments on commit 2d41d09

Please sign in to comment.