Skip to content

Instantly share code, notes, and snippets.

@almokhtarbr
Created September 4, 2018 19:09
Show Gist options
  • Save almokhtarbr/8daa66cb6720da9955506e2c3cbc509a to your computer and use it in GitHub Desktop.
Save almokhtarbr/8daa66cb6720da9955506e2c3cbc509a to your computer and use it in GitHub Desktop.
My alias for using phpunit via composer package manager
alias phpunit="if [ -f \"./vendor/bin/phpunit\" ]; then php vendor/bin/phpunit; else echo \"It seems you don't have phpunit installed via composer\"; fi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment