[TYPO3-core] CGL proposal: Dropping the closing PHP tag

Patrick Broens patrick.broens at typo3.org
Mon Oct 22 12:58:34 CEST 2012

On 22-10-12 12:10 , Dmitry Dulepov wrote:
> Hi!
> Andreas Wolf wrote:
>> I'd like to propose a change to our CGL to get rid of the closing PHP
>> tag.
>> I don't see a good reason why it is there, but it creates a lot of
>> hazzle with our "no trailing newline" rule, especially when doing a
>> quick fix without an IDE (I don't control these settings in every
>> editor I use).
>> Dropping the closing tag will make sure that no content in the PHP
>> file can slip into the output (which is AFAIK at least one main reason
>> why we have the "no newline"-rule).
>> What's your opinion on that?
> +1 to remove the closing tag. I am already doing that for about 1.5
> years in private extensions.
Same here: +1, remove the closing tag. Also doing this for my own work
as well.


Patrick Broens
TYPO3 Core Team member

TYPO3 .... inspiring people to share!
Get involved: typo3.org

More information about the TYPO3-team-core mailing list