[TYPO3-mvc] RFC: Throw exception if action methods have no docblock

Felix Oertel typo3 at foertel.com
Tue May 25 00:48:05 CEST 2010


Hi,

On 2010-05-24 21:38:19 +0200, Andreas Wolf said:
> Nevertheless Extbase did not recognize them - just because I did start 
> the block with /* instead of /**. Eclipse showed the block as a 
> perfectly valid docblock

erm, so what? kind of hard to say, but does it matter what some random 
IDE says? *g* a valid docblock starts with /**

> My proposal is to throw an exception if no docblock is given for action 
> methods.

why should we do that? half of my action methods don't need and with 
that in mind don't have a docblock.

> This would prevent such errors, and for argument validation we need a 
> docblock anyways. What is your opinion?

as mentioned above: we can hardly force the user to use docblocks if 
does not want/have to ;)

regards, foertel



More information about the TYPO3-project-typo3v4mvc mailing list