[PR #895] [CLOSED] Fix for no dot on Class Names #8860

Closed
opened 2026-01-22 16:02:02 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/895
Author: @sinner
Created: 1/4/2014
Status: Closed

Base: masterHead: patch-1


📝 Commits (4)

  • 63816e2 Fix for no dot on Class Names
  • a4afc50 Fix for no dot on Class Names and Schema Names
  • f01ef60 Correcting my mistakes
  • af1e5eb CS... should be } else {

📊 Changes

1 file changed (+80 additions, -2 deletions)

View changed files

📝 lib/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php (+80 -2)

📄 Description

If you work with PostgreSQL Schemas, You should filter the names of table to generate Correct name for PHP Classes. This way allow not write dots (.) as part of the Class Name.

Additionally, there is a variable ($schema) that must be contained in the class "Doctrine\DBAL\Schema\Table" on an $schema possible property but this is not available. (recomended)


🔄 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/895 **Author:** [@sinner](https://github.com/sinner) **Created:** 1/4/2014 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (4) - [`63816e2`](https://github.com/doctrine/orm/commit/63816e26ccc95b0ec308dbc5d124aaccc959628d) Fix for no dot on Class Names - [`a4afc50`](https://github.com/doctrine/orm/commit/a4afc500d68abcca7da098e9e84140c433ab3649) Fix for no dot on Class Names and Schema Names - [`f01ef60`](https://github.com/doctrine/orm/commit/f01ef60aeb19abe6baf3ab9514f25445b3a92ae5) Correcting my mistakes - [`af1e5eb`](https://github.com/doctrine/orm/commit/af1e5ebe1e500b65a2600884e2373987151379f4) CS... should be } else { ### 📊 Changes **1 file changed** (+80 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php` (+80 -2) </details> ### 📄 Description If you work with PostgreSQL Schemas, You should filter the names of table to generate Correct name for PHP Classes. This way allow not write dots (.) as part of the Class Name. Additionally, there is a variable ($schema) that must be contained in the class "Doctrine\DBAL\Schema\Table" on an $schema possible property but this is not available. (recomended) --- <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 16:02:02 +01:00
admin closed this issue 2026-01-22 16:02:02 +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#8860