[DCOM-129] Annotation parser matches colon after annotation Created: 21/Oct/12  Updated: 15/May/14  Resolved: 15/May/14

Status: Resolved
Project: Doctrine Common
Component/s: None
Affects Version/s: 2.3
Fix Version/s: 2.5.0
Security Level: All

Type: Bug Priority: Minor
Reporter: Konstantin Assignee: Guilherme Blanco
Resolution: Fixed Votes: 0
Labels: None



* 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 by Guilherme Blanco [ 15/May/14 ]

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

Generated at Mon Nov 30 19:29:22 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.