DCOM-129: Annotation parser matches colon after annotation #428

doctrinebot opened this Issue Oct 21, 2012 · 2 comments

2 participants


Jira issue originally created by user koc:


* Removes given $node from the tree and reparents its descendants
* @todo may be improved, to issue single query on reparenting
* @param object $node
* @throws RuntimeException - if something fails in transaction
* @return void
public function removeFromTree($node)

fails with [Semantical Error] The annotation "@todo:" in method Gedmo\Tree\Entity\Repository\ClosureTreeRepository::removeFromTree() was never imported. Did you maybe forget to add a "use" statement for this annotation?.

As you see it tryes find annotation with name "@todo:". Don't know, maybe rtrim($name, ':') would enough.


Comment created by @guilhermeblanco:

Issue seems to be already fixed over 6 months ago. Please reopen if still valid.


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.5.0 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment