Created
April 6, 2012 19:15
-
-
Save anotheremily/2322162 to your computer and use it in GitHub Desktop.
PHP Lint Bash Functions
This file contains hidden or 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
function phplint() { | |
for f in `ls *.php` | |
do | |
php -l ${f} | |
done | |
} | |
function rphplint() { | |
for f in `find . -iname '*.php'` | |
do | |
php -l ${f} | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment