mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #568] [CLOSED] Fixed plural variable names to singular when generating add or remove methods for entities #8386
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/568
Author: @alexcarol
Created: 2/4/2013
Status: ❌ Closed
Base:
master← Head:fix/generate-entities-plural📝 Commits (1)
7e35e23Changed generateEntityStubMethod so that variable names in add and remove methods and in the description are singular too.📊 Changes
2 files changed (+34 additions, -11 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/EntityGenerator.php(+5 -2)📝
tests/Doctrine/Tests/ORM/Tools/EntityGeneratorTest.php(+29 -9)📄 Description
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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.