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

Stefano Kowalke blueduck at gmx.net
Wed Apr 20 13:45:13 CEST 2011


Am 20.04.11 12:28, schrieb Stefano Kowalke:
> 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.

I found several places in the repository history [1][2] where newlines
after "?>" was removed. How should I proceed here?

There a just 191 files effected, this means the majority of files are ok.

I know that Netbeans and PHPStorm don't add a newline if you don't want
it. But this could be different in other IDEs and editors.

Regards,
Stefano

[1] Commit-SHA: 4d2bd8267e0a0a4003de8a23645156401358ec1b
[2] Commit-SHA: a40b5fa012d23aebc86c33c35489803fe9e5af9f


More information about the TYPO3-project-v4 mailing list