Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-2275

[GH-568] Fixed plural variable names to singular when generating add or remove methods for entities

    Details

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

      Description

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

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

      Message:

      Changed generateEntityStubMethod so that variable names in add or remove methods are singular too

      Edited tests for EntityGenerator so that variable names are checked too

        Activity

        Hide
        doctrinebot Doctrine Bot added a comment -

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

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

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

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

          People

          • Assignee:
            beberlei Benjamin Eberlei
            Reporter:
            beberlei Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: