[TYPO3-core] CGL violations "unused parameters"

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Oct 23 17:38:28 CEST 2012


Hi,

I would say it's not worth it. This is not a "CGL violation", as the
unused parameters usually have some purpose:

* backwards compatible API
* is used in some XCLASSed code
* is used by a subclass
* in case of stdWrap et all, it's the TypoScript API that mandates those
two parameters
* etc...

So I would rather disable this complete rule to get rid of the annoying
messages instead of "working through" them all, which seems to be a very
useless waste of resources.

Cheers,
Ernesto

Andy Grunwald schrieb am 23.10.2012 16:55:
> Here you will find the patch to fix this little gremmlin :)
> 
> https://review.typo3.org/#/c/15909/



More information about the TYPO3-team-core mailing list