by Pascal Opitz on October 20 2009, 10:12
If you haven't done it in a hook already, here's the quick way to check all your changed files for syntax errors:
svn st | grep .php | grep M | cut -c 8- | xargs -n1 php -l
I use xargs quite a lot lately, but some good clues came from David Singletons post "Using xargs like you mean it".
Content with Style is a London based blog, focusing on web technology and related topics.
Grab our feed
Content with Style
Copyright 2006-2011 Content with Style, All rights reserved.