[PR #12275] [MERGED] FIX: Handle int-backed enums for values stored as string values in MySQL ENUM columns #13641

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/12275
Author: @TheBreaken
Created: 11/17/2025
Status: Merged
Merged: 12/30/2025
Merged by: @derrabus

Base: 3.6.xHead: fix/handle-int-backed-enums


📝 Commits (3)

  • bae46b7 FIX: Handle int-backed enums for values stored as string values in MySQL ENUM columns
  • 2f991d3 FIX: Apply coding standard changes
  • 9c759c1 FIX: Add unit test cases

📊 Changes

2 files changed (+33 additions, -1 deletions)

View changed files

📝 src/Internal/Hydration/AbstractHydrator.php (+7 -1)
📝 tests/Tests/ORM/Hydration/AbstractHydratorTest.php (+26 -0)

📄 Description

Related issue: doctrine#12274


🔄 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/12275 **Author:** [@TheBreaken](https://github.com/TheBreaken) **Created:** 11/17/2025 **Status:** ✅ Merged **Merged:** 12/30/2025 **Merged by:** [@derrabus](https://github.com/derrabus) **Base:** `3.6.x` ← **Head:** `fix/handle-int-backed-enums` --- ### 📝 Commits (3) - [`bae46b7`](https://github.com/doctrine/orm/commit/bae46b72d9bead623f5b2b74d6bb991a0844b754) FIX: Handle int-backed enums for values stored as string values in MySQL ENUM columns - [`2f991d3`](https://github.com/doctrine/orm/commit/2f991d37c828c3c5ba146cbdaf744c4ebe16d97d) FIX: Apply coding standard changes - [`9c759c1`](https://github.com/doctrine/orm/commit/9c759c1d80e585c27eb158bbebd11f5b953ca777) FIX: Add unit test cases ### 📊 Changes **2 files changed** (+33 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/Internal/Hydration/AbstractHydrator.php` (+7 -1) 📝 `tests/Tests/ORM/Hydration/AbstractHydratorTest.php` (+26 -0) </details> ### 📄 Description Related issue: doctrine#12274 --- <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:54 +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#13641