Skip to content

Instantly share code, notes, and snippets.

@funnylookinhat
Created September 25, 2015 22:41
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 funnylookinhat/d18ad363f8c9e117c6dd to your computer and use it in GitHub Desktop.
Save funnylookinhat/d18ad363f8c9e117c6dd to your computer and use it in GitHub Desktop.
Quick and easy linter for a directory of PHP.
#!/bin/bash
# Add it to your $PATH for extra fun!
for FILE in $(find ./* | grep ".php"); do php -l "$FILE"; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment