[PR #12294] [CLOSED] loose compare readonly properties #13662

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/12294
Author: @garak
Created: 11/25/2025
Status: Closed

Base: 3.5.xHead: fix-readonly-object-compare


📝 Commits (1)

  • a6e3f5c loose compare readonly properties

📊 Changes

5 files changed (+107 additions, -18 deletions)

View changed files

📝 src/Mapping/PropertyAccessors/ReadonlyAccessor.php (+3 -1)
📝 src/Mapping/ReflectionReadonlyProperty.php (+3 -1)
tests/Tests/Models/ReadonlyProperties/Library.php (+20 -0)
tests/Tests/Models/ValueObjects/Uuid.php (+16 -0)
📝 tests/Tests/ORM/Mapping/ReflectionReadonlyPropertyTest.php (+65 -16)

📄 Description

Alternate approach to #11617
Fix #9505


🔄 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/12294 **Author:** [@garak](https://github.com/garak) **Created:** 11/25/2025 **Status:** ❌ Closed **Base:** `3.5.x` ← **Head:** `fix-readonly-object-compare` --- ### 📝 Commits (1) - [`a6e3f5c`](https://github.com/doctrine/orm/commit/a6e3f5c586d37502fb1b8e29ec7ee939872cc463) loose compare readonly properties ### 📊 Changes **5 files changed** (+107 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `src/Mapping/PropertyAccessors/ReadonlyAccessor.php` (+3 -1) 📝 `src/Mapping/ReflectionReadonlyProperty.php` (+3 -1) ➕ `tests/Tests/Models/ReadonlyProperties/Library.php` (+20 -0) ➕ `tests/Tests/Models/ValueObjects/Uuid.php` (+16 -0) 📝 `tests/Tests/ORM/Mapping/ReflectionReadonlyPropertyTest.php` (+65 -16) </details> ### 📄 Description Alternate approach to #11617 Fix #9505 --- <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:18:00 +01:00
admin closed this issue 2026-01-22 16:18:01 +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#13662