Doctrine Common
  1. Doctrine Common
  2. DCOM-50

Unable to use '@' in combination with a number (example: email@3domain.tld) in comment block

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Annotations
    • Labels:
      None

      Description

      My tld contains a number at the beginning (8points.de).
      I'm not able to use it in the @author section (@author Florian Preusner <florian.preusner@8points.de>) cause after the "@" the next letter is a number.

      Exception:
      AnnotationException: [Syntax Error] Expected Doctrine\Common\Annotations\Lexer::T_IDENTIFIER, got '8' at position 118 in method Blog\MainBundle\Controller\MainController::indexAction().
      n /var/www/floeh/vendor/doctrine-common/lib/Doctrine/Common/Annotations/AnnotationException.php at line 41

      I think this is a bug?!

        Activity

        Show
        Guilherme Blanco added a comment - Fixed on master. https://github.com/doctrine/common/commit/42029e6327f6ffc00a268cb61892b8ecbba49278

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Florian Preusner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: