Skip to content

Instantly share code, notes, and snippets.

@slifin
Created May 7, 2015 12:24
Show Gist options
  • Save slifin/3806d90cb2cc4e9739ba to your computer and use it in GitHub Desktop.
Save slifin/3806d90cb2cc4e9739ba to your computer and use it in GitHub Desktop.
How to lint PHP files recursively in a folder
find ./ \( -name "*.php" \) -print0 | xargs -0 -n 1 php -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment