Skip to content

Commit

Permalink
pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaEstes committed Oct 19, 2024
1 parent a2900c5 commit 4774a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ fi
PHPUNIT="tools/phpunit/vendor/bin/phpunit"
if [ -x $PHPUNIT ]; then
__info "Running phpunit"
XDEBUG_MODE=off php -dxdebug.mode=off -dapc.enable_cli=1 $PHPUNIT
XDEBUG_MODE=off php -dxdebug.mode=off -dapc.enable_cli=1 $PHPUNIT --testsuite=all
if [ $? -ne 0 ]; then
__fail "Unit Tests failed, fix your shit. Can also use --no-verify to skip checks"
fi
Expand Down

0 comments on commit 4774a63

Please sign in to comment.