Skip to content

Instantly share code, notes, and snippets.

@wizardishungry
Created January 26, 2011 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wizardishungry/797274 to your computer and use it in GitHub Desktop.
Save wizardishungry/797274 to your computer and use it in GitHub Desktop.
# check for php syntax errors in changed files
git status|grep php| cut -d : -f 2 | xargs -n1 php -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment