Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sparkcodeuk/c96cf28299779588711e9fac5539076d to your computer and use it in GitHub Desktop.
Save sparkcodeuk/c96cf28299779588711e9fac5539076d to your computer and use it in GitHub Desktop.
Recursively PHP lint PHP files (not quitting out if errors are found)
find . -type f -name '*.php' -print0|xargs -0 -n1 -I{} bash -c "php -l {} || true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment