See http://drupal.org/coding-standards :

Removing it eliminates the possibility for unwanted whitespace at the end of files which can cause "header already sent" errors, XHTML/XML validation issues, and other problems.
The closing delimiter at the end of a file is optional.
PHP.net itself removes the closing delimiter from the end of its files (example: prepend.inc), so this can be seen as a "best practice."

CommentFileSizeAuthor
maestro_no_php_close.patch1.22 KBaron novak

Comments

aron novak’s picture

Title: Follow best practise, remove closing PHP tag » Follow best practice, remove closing PHP tag
_randy’s picture

Status: Needs review » Fixed

Fixed in git

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

correct broken link