Skip to content

Instantly share code, notes, and snippets.

@bkozora
Created November 14, 2014 18:02
Show Gist options
  • Save bkozora/8f0f0fe544a0cc2f06ec to your computer and use it in GitHub Desktop.
Save bkozora/8f0f0fe544a0cc2f06ec to your computer and use it in GitHub Desktop.
Lints all PHP files recursively from a starting directory
find ./ -type f -name \*.php -exec php -l {} \; | grep "Errors parsing ";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment