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

Sebastian Kurfürst sebastian at typo3.org
Wed May 26 09:32:12 CEST 2010


Hey,

> So, maybe we could introduce some warnings, or a check script for
> finding these errors. Or have a warning in the docs, which would be
> least hassle but may prevent one or the other dev from some hours
> wast^Hspent on debugging.
That's a good idea. I think we can't throw exceptions, as we cannot see
if the user *meant* it that way (i.e. he did NOT want to write a
comment), or if the script just did not detect it.

However, I could think of a backend module which can output the found
annotations for a given class.

Anybody interested in writing one / or writing a feature request on
Forge, so the idea won't get lost?

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list