[TYPO3-core] RFC #15045: Trailing newlines after php closing tag.
Nikolas Hagelstein
hagelstein at shr.cc
Thu Jul 8 12:02:37 CEST 2010
This is an SVN patch request.
Type: [Cleanup]
Bugtracker references:
http://bugs.typo3.org/view.php?id=15045
Branches:
"TYPO3_4-4 & trunk".
Problem:
Some core classes contain newline characters after the php closing tag (?>).
Although a single newline character doesn't harm (see
http://bugs.php.net/bug.php?id=21891) the CGL explicit states: "There must
be no empty lines after the closing PHP tag." (see:
http://typo3.org/documentation/document-library/core-documentation/doc_core_
cgl/4.4.1/view/1/3/).
Solution:
Remove them.
Notes:
The patch removes some line ending whitespaces as well (happened due to
editor settings).
More information about the TYPO3-team-core
mailing list