Skip to content


DDC-62: Syntax error in proxy generated for entity in global namespace #5130

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user koubas:

When I define a class in my application, without defining any namespace for it (i'm not using them for my code yet) and mark it as an entity by anotation, the generated Proxy class has following syntax error in its definition:
class MyEntityAProxy extends MyEntity implements \Doctrine\ORM\Proxy\Proxy {
two backslashes here (JIRA escaped them somehow))

I've fixed it temporarily by removing backslash from the class template in ProxyFactory.php, but i could probably break something else.

I'm new to Doctrine 2 and php 5.3 features, sorry if this is a nonsense :]


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0-ALPHA3 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.