Created
March 15, 2017 06:12
-
-
Save paulredmond/76a39f69d06be1d174fdab90ee507f70 to your computer and use it in GitHub Desktop.
Lint all php files in a given path
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
#!/usr/bin/env bash | |
find . -type f -name '*.php' -exec php -l {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment