Wednesday, October 13, 2010

Linting php files from command line in Cygwin

$ ls -1 *.php | xargs -n1 ./php.exe -l | grep -i "errors parsing"

No comments:

Blog Archive