[TYPO3-v4] Mr. Jenkins will complain about CGL issues

Stefano Kowalke blueduck at gmx.net
Wed Apr 20 12:28:42 CEST 2011


Am 20.04.11 10:26, schrieb Steffen Gebert:
> 
>>> Category CharacterAfterPHPClosingTag: "No newline character is allowed
>>> ...
>> I thought with empty lines also newlines (\n) are mean. Is this not
>> correct?
> I would say that exactly one \n is allowed directly after the closing
> tag. That's what several IDEs add. However, any other chars after that
> should create an output.

I will digg deeper into it. Thanks for the link.


>>> Type DisallowElseIfConstruct: is not relevant for us
>>
>> Have a look at page 12: "TYPO3 code must not use the else if construct."
> "else if" is not allowed, "elseif" is - I assume.

Excactly.
"else if" is the syntax of C/C++ because there is no "elseif" keyword
you have to mix "else" with "if" an get "else if". Since PHP have the
elseif construct we use this.

Regards,
Stefano



More information about the TYPO3-project-v4 mailing list