Skip to content

Instantly share code, notes, and snippets.

@paulredmond
Created March 15, 2017 06:12
Show Gist options
  • Save paulredmond/76a39f69d06be1d174fdab90ee507f70 to your computer and use it in GitHub Desktop.
Save paulredmond/76a39f69d06be1d174fdab90ee507f70 to your computer and use it in GitHub Desktop.
Lint all php files in a given path
#!/usr/bin/env bash
find . -type f -name '*.php' -exec php -l {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment