Skip to content

Instantly share code, notes, and snippets.

@anotheremily
Created April 6, 2012 19:15
Show Gist options
  • Save anotheremily/2322162 to your computer and use it in GitHub Desktop.
Save anotheremily/2322162 to your computer and use it in GitHub Desktop.
PHP Lint Bash Functions
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