[PR #12182] [MERGED] do not call setAccessible() on PHP >= 8.1 #13548

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/12182
Author: @xabbuh
Created: 9/29/2025
Status: Merged
Merged: 10/1/2025
Merged by: @derrabus

Base: 2.20.xHead: set-accessible


📝 Commits (1)

  • 7279f23 do not call setAccessible() on PHP >= 8.1

📊 Changes

21 files changed (+182 additions, -42 deletions)

View changed files

📝 src/Proxy/ProxyFactory.php (+4 -1)
📝 src/UnitOfWork.php (+5 -1)
📝 tests/Tests/ORM/Cache/DefaultCacheTest.php (+7 -2)
📝 tests/Tests/ORM/Cache/DefaultQueryCacheTest.php (+5 -1)
📝 tests/Tests/ORM/Cache/FileLockRegionTest.php (+12 -3)
📝 tests/Tests/ORM/Cache/Persister/Collection/ReadWriteCachedCollectionPersisterTest.php (+20 -6)
📝 tests/Tests/ORM/Cache/Persister/Entity/NonStrictReadWriteCachedEntityPersisterTest.php (+14 -4)
📝 tests/Tests/ORM/Cache/Persister/Entity/ReadWriteCachedEntityPersisterTest.php (+14 -4)
📝 tests/Tests/ORM/Functional/PaginationTest.php (+5 -1)
📝 tests/Tests/ORM/Functional/ParserResultSerializationTest.php (+10 -2)
📝 tests/Tests/ORM/Functional/SQLFilterTest.php (+6 -1)
📝 tests/Tests/ORM/Functional/SecondLevelCacheCountQueriesTest.php (+6 -1)
📝 tests/Tests/ORM/Functional/SecondLevelCacheQueryCacheTest.php (+6 -1)
📝 tests/Tests/ORM/Functional/Ticket/DDC3123Test.php (+6 -1)
📝 tests/Tests/ORM/Functional/Ticket/GH7407Test.php (+6 -1)
📝 tests/Tests/ORM/Mapping/ClassMetadataFactoryTest.php (+7 -1)
📝 tests/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php (+5 -1)
📝 tests/Tests/ORM/ORMSetupTest.php (+6 -1)
📝 tests/Tests/ORM/Persisters/BasicEntityPersisterTypeValueSqlTest.php (+14 -3)
📝 tests/Tests/ORM/Proxy/ProxyFactoryTest.php (+6 -1)

...and 1 more files

📄 Description

No description provided


🔄 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/12182 **Author:** [@xabbuh](https://github.com/xabbuh) **Created:** 9/29/2025 **Status:** ✅ Merged **Merged:** 10/1/2025 **Merged by:** [@derrabus](https://github.com/derrabus) **Base:** `2.20.x` ← **Head:** `set-accessible` --- ### 📝 Commits (1) - [`7279f23`](https://github.com/doctrine/orm/commit/7279f233b28b50a6976d1101aba76f21694f53e7) do not call setAccessible() on PHP >= 8.1 ### 📊 Changes **21 files changed** (+182 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `src/Proxy/ProxyFactory.php` (+4 -1) 📝 `src/UnitOfWork.php` (+5 -1) 📝 `tests/Tests/ORM/Cache/DefaultCacheTest.php` (+7 -2) 📝 `tests/Tests/ORM/Cache/DefaultQueryCacheTest.php` (+5 -1) 📝 `tests/Tests/ORM/Cache/FileLockRegionTest.php` (+12 -3) 📝 `tests/Tests/ORM/Cache/Persister/Collection/ReadWriteCachedCollectionPersisterTest.php` (+20 -6) 📝 `tests/Tests/ORM/Cache/Persister/Entity/NonStrictReadWriteCachedEntityPersisterTest.php` (+14 -4) 📝 `tests/Tests/ORM/Cache/Persister/Entity/ReadWriteCachedEntityPersisterTest.php` (+14 -4) 📝 `tests/Tests/ORM/Functional/PaginationTest.php` (+5 -1) 📝 `tests/Tests/ORM/Functional/ParserResultSerializationTest.php` (+10 -2) 📝 `tests/Tests/ORM/Functional/SQLFilterTest.php` (+6 -1) 📝 `tests/Tests/ORM/Functional/SecondLevelCacheCountQueriesTest.php` (+6 -1) 📝 `tests/Tests/ORM/Functional/SecondLevelCacheQueryCacheTest.php` (+6 -1) 📝 `tests/Tests/ORM/Functional/Ticket/DDC3123Test.php` (+6 -1) 📝 `tests/Tests/ORM/Functional/Ticket/GH7407Test.php` (+6 -1) 📝 `tests/Tests/ORM/Mapping/ClassMetadataFactoryTest.php` (+7 -1) 📝 `tests/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php` (+5 -1) 📝 `tests/Tests/ORM/ORMSetupTest.php` (+6 -1) 📝 `tests/Tests/ORM/Persisters/BasicEntityPersisterTypeValueSqlTest.php` (+14 -3) 📝 `tests/Tests/ORM/Proxy/ProxyFactoryTest.php` (+6 -1) _...and 1 more files_ </details> ### 📄 Description _No description provided_ --- <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:29 +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#13548