Skip to content

Commit

Permalink
Added phpunit command to composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Sep 9, 2024
1 parent c1a1b5f commit ab6a840
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,10 @@
"php": "7.4"
},
"sort-packages": true
},
"scripts": {
"phpunit:test": "@php vendor/bin/phpunit --no-coverage \"$@\" --testdox",
"phpunit:coverage": "@php -XDEBUG_MODE=coverage vendor/bin/phpunit --testdox",
"phpunit:coverage-local": "@php -XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html build/coverage --testdox"
}
}

0 comments on commit ab6a840

Please sign in to comment.