Doctrine Common
  1. Doctrine Common
  2. DCOM-129

Annotation parser matches colon after annotation

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Code

      /**
      * 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.

        Activity

        Konstantin created issue -
        Hide
        Guilherme Blanco added a comment -

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

        Show
        Guilherme Blanco added a comment - Issue seems to be already fixed over 6 months ago. Please reopen if still valid.
        Guilherme Blanco made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Benjamin Eberlei [ beberlei ] Guilherme Blanco [ guilhermeblanco ]
        Fix Version/s 2.5.0 [ 10526 ]
        Resolution Fixed [ 1 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DCOM-129, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Konstantin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: