Task #5658
Inconsistent class names in sub namespaces (Part II)
Status:
Resolved
Priority:
Must have
Assignee:
Category:
-
Target version:
Start date:
2009-01-26
Due date:
% Done:
100%
Estimated time:
Sprint:
PHP Version:
Has patch:
Complexity:
Description
From the refactoring before alpha1 there are still a few edge cases concerning the naming of classes which turned out to be disturbing. Especially the rule "the main purpose of namespaces is categorization and ordering" was a bit neglected by allowing these special cases.
Currently allowed edge case Future class name ----------------------------------------------------------------------------------------- \F3\FLOW3\Object\Manager \F3\FLOW3\Object\ObjectManager \F3\Foo\Bar\Builder \F3\Foo\Bar\BarBuilder \F3\FLOW3\Object\Factory \F3\FLOW3\Object\Factory
Rename "AbstractFoo" to "FooAbstract"- Rename "InvalidFoo" to "InvalidFooException"
- Refactor class names which don't follow the above rules.
- Add the above rules to the CGL.
Files