Skip to content

Instantly share code, notes, and snippets.

@darraghenright
Created July 8, 2013 10:27
Show Gist options
  • Save darraghenright/5947760 to your computer and use it in GitHub Desktop.
Save darraghenright/5947760 to your computer and use it in GitHub Desktop.
Lint a bunch of php files for syntax errors
find src/ -type f -name "*\.php" -exec php -l {} \; | grep -v 'No syntax errors'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment