Trying to add phing to my SVN repository gave me problems due to inconsistent newlines. I used the below command from the 'phing' directory to remove all DOS-style newlines that were there in addition to the UNIX newlines.
for i in `grep -rl ^M *`; do cat $i | perl -ne 's/^M//; print' > $i.tmp; mv $i.tmp $i; done
Attached is also a patchfile, but I'm not sure if the newlines will be preserved properly.
I would also recommend setting the svn:eol-style=native keyword to all PHP files once this is done. Adding the following lines to your ~/.subversion/config file will help with newly created .php files:
[auto-props]
*.php = svn:eol-style=native