Skip to content

Instantly share code, notes, and snippets.

@SPie
SPie / gist:702766cb3b7d1e7e3ec33a58197cd761
Created August 18, 2022 12:29
PHPUnit pre-commit git hook
#!/bin/bash
echo "Testing...";
OUTPUT=$(./vendor/bin/phpunit tests/ | tee /dev/tty; exit ${PIPESTATUS[0]});
RETURN_CODE=$?
exit $RETURN_CODE;

Keybase proof

I hereby claim:

  • I am spie on github.
  • I am spie (https://keybase.io/spie) on keybase.
  • I have a public key ASARIvLvxvwfZb0gdLoILyRA5PDgncIDyPw4fQQixYGWeAo

To claim this, I am signing this object: