Skip to content

Instantly share code, notes, and snippets.

@agarzon
Last active October 4, 2017 21:21
Show Gist options
  • Save agarzon/f3539ac3be60aa303e6ab6ed1941b975 to your computer and use it in GitHub Desktop.
Save agarzon/f3539ac3be60aa303e6ab6ed1941b975 to your computer and use it in GitHub Desktop.
Recursive PHP linting
find . -name "*.php" -print0 | xargs -0 -n1 -P $(nproc) php -l | grep -v '^No'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment