[PR #530] [CLOSED] Singular form of generated methods should end with 'y' when property ends with 'ies' #8334

Closed
opened 2026-01-22 15:59:26 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/530
Author: @stollr
Created: 12/4/2012
Status: Closed

Base: 2.3Head: 2.3


📝 Commits (1)

  • a3adfcc Singular form of method names which ends with 'ies' in EntityGenerator improved

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 lib/Doctrine/ORM/Tools/EntityGenerator.php (+5 -1)

📄 Description

The singular form is not correctly detected if the property ends with 'ies' like 'entries' which should be transformed to 'entry'.
This change is related to http://www.doctrine-project.org/jira/browse/DDC-2184


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/530 **Author:** [@stollr](https://github.com/stollr) **Created:** 12/4/2012 **Status:** ❌ Closed **Base:** `2.3` ← **Head:** `2.3` --- ### 📝 Commits (1) - [`a3adfcc`](https://github.com/doctrine/orm/commit/a3adfccb4927d61da7debae46ed0fff61e4212f8) Singular form of method names which ends with 'ies' in EntityGenerator improved ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/EntityGenerator.php` (+5 -1) </details> ### 📄 Description The singular form is not correctly detected if the property ends with 'ies' like 'entries' which should be transformed to 'entry'. This change is related to http://www.doctrine-project.org/jira/browse/DDC-2184 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:59:26 +01:00
admin closed this issue 2026-01-22 15:59:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8334