[PR #12273] [MERGED] Deprecate FieldMapping::$default #13636

Open
opened 2026-01-22 16:17:53 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/12273
Author: @greg0ire
Created: 11/14/2025
Status: Merged
Merged: 11/19/2025
Merged by: @greg0ire

Base: 3.6.xHead: deprecate-default


📝 Commits (1)

  • 96776e0 Deprecate FieldMapping::$default

📊 Changes

5 files changed (+13 additions, -4 deletions)

View changed files

📝 UPGRADE.md (+5 -0)
📝 src/Mapping/ClassMetadata.php (+2 -2)
📝 src/Mapping/FieldMapping.php (+3 -1)
📝 src/Tools/SchemaTool.php (+2 -0)
📝 tests/Tests/ORM/Mapping/ClassMetadataBuilderTest.php (+1 -1)

📄 Description

Its purpose is unclear since there is FieldMapping::$options['default'] already.


🔄 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/12273 **Author:** [@greg0ire](https://github.com/greg0ire) **Created:** 11/14/2025 **Status:** ✅ Merged **Merged:** 11/19/2025 **Merged by:** [@greg0ire](https://github.com/greg0ire) **Base:** `3.6.x` ← **Head:** `deprecate-default` --- ### 📝 Commits (1) - [`96776e0`](https://github.com/doctrine/orm/commit/96776e091d339ebf4b8a7a140de57e1d8cb21cf9) Deprecate FieldMapping::$default ### 📊 Changes **5 files changed** (+13 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `UPGRADE.md` (+5 -0) 📝 `src/Mapping/ClassMetadata.php` (+2 -2) 📝 `src/Mapping/FieldMapping.php` (+3 -1) 📝 `src/Tools/SchemaTool.php` (+2 -0) 📝 `tests/Tests/ORM/Mapping/ClassMetadataBuilderTest.php` (+1 -1) </details> ### 📄 Description Its purpose is unclear since there is `FieldMapping::$options['default']` already. --- <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:17:53 +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#13636