Skip to content

Loading…

DDC-81: Wrong class names when using sub-namespaces #5326

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user nicokaiser:

When using sub-namespaces, e.g. an entity is named "Entity\User\Permission", the annontated PHP file has the wrong class:

  • - - - 8< - - - - namespace Entity\User; ... class User\Permission { ...
  • - - - 8< - - - -

The namespace is correct, but the class should be "class Permission"...

The attaches patch should fix this in AnnotationExporter

@doctrinebot

Comment created by @jwage:

Thanks for the ticket and patch.

@doctrinebot

Issue was closed with resolution "Fixed"

@jwage jwage 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.