Skip to content

Instantly share code, notes, and snippets.

@hairmare
Created June 5, 2015 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hairmare/634e1be6414f9fb7470b to your computer and use it in GitHub Desktop.
Save hairmare/634e1be6414f9fb7470b to your computer and use it in GitHub Desktop.
pre-commit hook for running composer check
#!/bin/sh
#
# Run composer check and abort if issues are found
#
# To enable this hook, put it in ".git/hooks/pre-commit" in a working copy
exec composer check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment