This is what I have in my .bash_profile. It check for all the PHP files, recursively, for any syntax error.
alias php_check_syntax='find . -type f -name \*.php -exec php -l {} \;'
This other tip is to move multiple files in SVN. You can make it a script if you want.
for i in *.test.php ; do svn move $i tests/ ; done
Leave a Reply