Skip to content

Instantly share code, notes, and snippets.

@totobook
Created April 20, 2013 09:16
Show Gist options
  • Save totobook/5425348 to your computer and use it in GitHub Desktop.
Save totobook/5425348 to your computer and use it in GitHub Desktop.
アプリケーションルートでPHPのsyntaxチェックを行う。subversionつかってるならsvn stの出力をパースしてphp -lにかけるもよし
#!/bin/sh
find . -name "*.php" -exec php -l {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment