Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2876

[GH-891] Allow to not generate extra use

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of spolischook:

      Url: https://github.com/doctrine/doctrine2/pull/891

      Message:

      For case when we not generate annotation (by default at doctrine orm:generate-entities) allow to not generate extra use for it -
      ```php
      use Doctrine\ORM\Mapping as ORM;
      ```
      For example if generate entities for my project that use only dbal in pord but use orm for generate entities in dev mode.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-891] was closed:
        https://github.com/doctrine/doctrine2/pull/891

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-891] was closed: https://github.com/doctrine/doctrine2/pull/891

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: