PaulV wrote:
 
> I've sorted it now with the help of Matti.
> 
> I had extra lines at the end of a helper. I never thought to check
> those.

Let's try a bit of magic:

$ find -name "*.php" | xargs sed -i -e :a -e '/^\n*$/{$d;N;ba' -e '}'

Removes all trailing newlines from PHP files under the current
directory -- run from app/. Would have fixed your problem straight away.

Regards,

-- 
 Chris Lamb, Cambridgeshire, UK                          GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature

Reply via email to