[TYPO3-team-core-v5] Check your pending changes...

Karsten Dambekalns karsten at typo3.org
Mon Sep 15 16:55:09 CEST 2008


Hi.

Bastian Waidelich wrote:
> Karsten Dambekalns wrote:
> 
>> * Stay clear of class names that are PHP keywords.
> 
> how bad, that "Default" is one of them...
> The view for "defaultAction" can't be resolved anymore.


Well, with namespaces the class name should no longer be Default, no? I 
mean, just imgine

$default = new Default();
$default->do();

What default?

So it should be DefaultController, DefaultView, etc.

If I broke this during my changes, this a) means there are some missing 
tests and b) it needs to be fixed so that the default view is resolved 
to DefaultView.

Regards,
Karsten


More information about the TYPO3-team-core-v5 mailing list