[TYPO3-dev] Re: [TYPO3-core] New TYPO3 Coding Guidelines

Peter Russ peter.russ at 4many.net
Wed Jul 8 22:05:34 CEST 2009


--- Original Nachricht ---
Absender:   Marc Wöhlken
Datum:       07.07.2009 22:07:
> Hi,
> can any one explain why the CGLs require developers to use a closing php
> tag [1]?
> 
> Many other projects (e.g. zend framework [2]) do insist on NOT having a
> closing php tag as this may cause problems when there is whitespace at
> the end of a file as explained in the TYPO3 CGLs, too.
> 
> CU
>  Marc
> 
> [1]
> http://typo3.org/documentation/document-library/core-documentation/doc_core_cgl/4.3.0/view/1/3/#id4563046
> [2]
> http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html

Marc,

sometimes it's better not to discuss and do what you think it's better 
to do. IMHO Zend is right and it's pretty helpful in debugging Restful 
Services.

We should be prepared for next release of CGL ;-)

jm2c.


-- 
Fiat lux! Docendo discimus.
_____________________________
uon GbR

http://www.uon.li
http://www.xing.com/profile/Peter_Russ




More information about the TYPO3-dev mailing list