Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0.0-BETA2
-
Component/s: None
-
Labels:None
Description
In the function Annotation() in \Doctrine\Common\Annotations\Parser.php (~line 225)
There is a check for how many $nameParts there are, and the doctrine code will only append the namespace aliases if there are no namespace separators.
There is also an argument against modification since the user of the code could just define more namespace aliases, but I feel that it should be able to cope with a namespace alias and a namespace separator at the same time.
From our discussion on IRC, the problems here are: