[TYPO3-core] CGL, to dot or not to dot, this is the question

Alexander Opitz opitz at pluspol.info
Fri Oct 18 09:13:29 CEST 2013


again a CGL issue, this time about string splitting over lines. [1] [2]

The CGL defines this at the end on the first line. In an review [3] 
Markus Klein wrote:
"point at the start is best practice CGL for some time now. we use it 
everywhere. If this is still in the CGL, +1 for changing it."

As I prefer this myself and it would align with multiline for conditions 
[4], but didn't see this yet elsewhere in TYPO3 and in last discussion 
[5] it was omitted, TYPO3 FLOW follows TYPO3 CMS [6], my question is now:

If we split a string, should we put the dot on the end of first line or 
on start of next line?

Beside of a discussion here I also started a doodle this time: 

Drupal doesn't define it.
Zend uses start at next line [7]

Greetings Alex//


Alexander Opitz

PLUSPOL interactive GbR
Floßplatz 4
04107 Leipzig

Telefon:   (0341) 350 585 -19
Telefax:   (0341) 350 585 -40

E-Mail:    opitz at pluspol.info
Internet:  http://www.pluspol.info

Dipl. Medienwirt (FH) Jörg Brückner
Dipl.- Ing. (FH) Stefan Dittmar
Dipl.- Ing. (FH) Thomas Lange

USt-ID-Nr.: DE221591186

Sitz der Gesellschaft und Gerichtsstand ist Leipzig

More information about the TYPO3-team-core mailing list