[TYPO3-core] Can't we drop all those "@todo Define visibility" annotations?

Sebastian Michaelsen sebastian.michaelsen at t3seo.de
Fri Jan 18 15:11:46 CET 2013


When the great class restructuring™ for 6.0 took place, properties and 
methods without visibility flag were all declared public and a "@todo 
Define visibility" annotation was added. I've found 4401 of those in the 
core.

These properties and methods were already public implicitly when they 
had no flag and even if they were not meant for public use you cannot 
change them to non-public without the risk of breaking things. So public 
is the only reasonable visibility for them - why do we need those 
annotations then?


More information about the TYPO3-team-core mailing list