[TYPO3-50-general] Discussion to CodingStandards
Malte Jansen
mail at maltejansen.de
Tue Jan 29 20:42:02 CET 2008
Hi,
what about having variable-type HTML?
Representing a string with HTML-tags.
So you know, if a functions returns some HTML-syntax. It's pretty
useful, if you know, wether a function returns HTML string or just plain
string.
Cheers,
Malte
Robert Lemke schrieb:
> Hi Tim,
>
> Am 14.01.2008 um 20:58 schrieb Tim Eilers:
>
>> thanks, but you missed some and i have questions to some. i get worried
>> about discussing them here or there... here you can have a nicer talk by
>> quoting, so i'll do it here:
>>
>> "function doc comment -> "integer" or "int" or allow both?
>> integer is already implemented in CodeSniffer itself, so
>> that would be easier"
>>
>> what about it? simple question, simple answer... :)
>
> "integer" only.
>
>> ok. if you agree i'll do it like this:
>>
>> i'll make the checks to be not that stricts and only check tags for
>> being there and have the right content, if it is possible to check:
>> File: @package Package Name
>> @subpacke Subpackage Name
>> Class: @package Package Name
>> Method: @param Type and Comment
>> @return Type (no comment check, because a
>> comment to "void" makes no sense)
>> Var: @var Type and Comment
>>
>> All other Tags will be ignored (incl. @author, why is described by me in
>> the wiki). The order will be ignored, too.
>>
>> OK?
>
> Perfect.
>
> Thanks!
>
> robert
More information about the TYPO3-project-5_0-general
mailing list