-
-
Save dotancohen/701bec7285ffcb9f3c592df6146913f2 to your computer and use it in GitHub Desktop.
PHP lint all files added or modified locally
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in $(git status -s | grep '^\s*A\|^\s*M' | sed -e 's/^.* //'); do php -l $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment