2 tips – Check PHP syntax and SVN move multiple files

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

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *