Skip to content

Instantly share code, notes, and snippets.

@mbeall
Last active September 21, 2015 22:15
Show Gist options
  • Select an option

  • Save mbeall/e2ab7e46b53e8882ba8e to your computer and use it in GitHub Desktop.

Select an option

Save mbeall/e2ab7e46b53e8882ba8e to your computer and use it in GitHub Desktop.
#!/bin/bash
find . -name '*.php' -not -path './node_modules/*' -not -path './tests/*' -not -path './vendor/*' -exec php -lf '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment