[TYPO3-core] Adding visibility to methods and variables within t3lib_tcemain?

Georg Ringer typo3 at ringerge.org
Fri Jun 15 06:38:37 CEST 2012


Hi,

Am 14.06.2012 21:03, schrieb Christian Kuhn:
> The problem is bigger than just tcemain (but yeah, this class is one of
> the most important ones): metrics.typo3.org tells me, there are currently:
> 2948 methods missing scope
> 2041 member vars missing scope
> 
> In the end, we should aim for 0.

+1

> Still, it is fact that we introduce a massive API change if we just make
> methods / properties protected, and we _will_ face people complaining
> about broken extensions. This will be true even if we think twice about
> each and every part where we reduce visibility.

true but after a 6.0 there will be a 6.0.1 and a 6.1, so if we declare
something proteced and we have missed a usecase it is still very easy to
just change it to public.

If we don't start now we will never I fear

Georg


More information about the TYPO3-team-core mailing list