[TYPO3-core] Change CGL for inline comments?

Helmut Hummel helmut.hummel at typo3.org
Sat Sep 22 18:31:40 CEST 2012


Hi,

our CGL currently state that inline comments must be indented one tab 
more than the following code line.

This is a speciality that only exists (as far as I know) in the TYPO3 
project for historical reasons.

One downside is, that IDEs lack support for auto formatting the comments 
that way.

With the switch to namespaces, the script accidently reverted this 
coding style and set *all* inline comments on the same indenation level 
as the following code.

During the CI code sprint we discussed if it would make sense to change 
the CGL here and leave it, as we have it now instead of fixing all the 
comments.

We all agreed that we should go that way and change the CGLs

Any major downsides to do so?

Kind regards,
Helmut

-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 Core Developer, TYPO3 Security Team Member

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


More information about the TYPO3-team-core mailing list