Fixing end-of-file PHP tags and whitespace issues