[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

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 Thu Jul 30 14:12:04 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.