[PR #12158] [CLOSED] Fix php doc for getPropertyAccessors method #13530

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/12158
Author: @dmitryuk
Created: 9/9/2025
Status: Closed

Base: 3.6.xHead: fix-doc


📝 Commits (10+)

  • 9bf407f Fix IN/NOT IN expression handling and support enums when matching on to-many-collections
  • b7423c9 Migrate away from getMockForAbstractClass()
  • 9d5f112 Migrate to willReturn()
  • 680a9ef Migrate away from assertStringNotMatchesFormat()
  • 17059e5 Migrate away from annotations in tests
  • 2d90917 Use PHPUnit 11 when possible
  • db45697 Check extra condition to decide if a test was skipped
  • 21e9fcb Merge pull request #12146 from greg0ire/upg-phpunit
  • c164ae4 docs: generation strategies differences between DBAL 3 and 4
  • f7d4e37 docs: consistent PostgreSQL's name case

📊 Changes

43 files changed (+646 additions, -279 deletions)

View changed files

📝 .github/workflows/continuous-integration.yml (+34 -4)
📝 composer.json (+1 -1)
📝 docs/en/reference/advanced-configuration.rst (+50 -6)
📝 docs/en/reference/basic-mapping.rst (+7 -5)
📝 docs/en/tutorials/getting-started.rst (+2 -2)
📝 phpstan-baseline.neon (+30 -36)
📝 phpstan-dbal3.neon (+5 -5)
📝 phpstan.neon (+3 -3)
📝 src/Mapping/ClassMetadata.php (+3 -3)
📝 src/Mapping/Driver/AttributeDriver.php (+10 -4)
📝 src/ORMSetup.php (+5 -4)
📝 src/Persisters/Collection/ManyToManyPersister.php (+10 -3)
📝 src/Persisters/Entity/BasicEntityPersister.php (+7 -129)
📝 src/Utility/PersisterHelper.php (+127 -0)
📝 tests/Performance/EntityManagerFactory.php (+8 -9)
tests/Tests/Mocks/AttributeDriverFactory.php (+34 -0)
📝 tests/Tests/Mocks/EntityManagerMock.php (+1 -2)
tests/Tests/Models/Enums/BookCategory.php (+30 -0)
tests/Tests/Models/Enums/BookGenre.php (+11 -0)
tests/Tests/Models/Enums/BookWithGenre.php (+38 -0)

...and 23 more files

📄 Description

Fixes:

  1. getPropertyAccessors returns PropertyAccessor instead ReflectionProperties
  2. getPropertyAccessors returns associative array mapped by accessor name, not a list

🔄 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/12158 **Author:** [@dmitryuk](https://github.com/dmitryuk) **Created:** 9/9/2025 **Status:** ❌ Closed **Base:** `3.6.x` ← **Head:** `fix-doc` --- ### 📝 Commits (10+) - [`9bf407f`](https://github.com/doctrine/orm/commit/9bf407f3369b1c6d2e46cacd0e4ed756da26cc3b) Fix `IN`/`NOT IN` expression handling and support enums when matching on to-many-collections - [`b7423c9`](https://github.com/doctrine/orm/commit/b7423c96cfcc42a090eb8b2385d1b474dd655155) Migrate away from getMockForAbstractClass() - [`9d5f112`](https://github.com/doctrine/orm/commit/9d5f112c7e4d4b28af023493a4e3ca73ab70867a) Migrate to willReturn() - [`680a9ef`](https://github.com/doctrine/orm/commit/680a9ef63294d3475c712fdd9ba1dffd763e3da9) Migrate away from assertStringNotMatchesFormat() - [`17059e5`](https://github.com/doctrine/orm/commit/17059e526536d5cea2665a2d84db5e1c9be7da01) Migrate away from annotations in tests - [`2d90917`](https://github.com/doctrine/orm/commit/2d9091778fc68983720088fdb3ee0666138ea757) Use PHPUnit 11 when possible - [`db45697`](https://github.com/doctrine/orm/commit/db456976eddd0aebcb83c42fb45c2af740f4e5c8) Check extra condition to decide if a test was skipped - [`21e9fcb`](https://github.com/doctrine/orm/commit/21e9fcbfbbf9a72abd8bf0d3f3e9d8c397fb80f3) Merge pull request #12146 from greg0ire/upg-phpunit - [`c164ae4`](https://github.com/doctrine/orm/commit/c164ae434febef66681caed86ec148a4adc265c4) docs: generation strategies differences between DBAL 3 and 4 - [`f7d4e37`](https://github.com/doctrine/orm/commit/f7d4e379bc15a8b8d1d0de63174ac13fbc8c6840) docs: consistent PostgreSQL's name case ### 📊 Changes **43 files changed** (+646 additions, -279 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/continuous-integration.yml` (+34 -4) 📝 `composer.json` (+1 -1) 📝 `docs/en/reference/advanced-configuration.rst` (+50 -6) 📝 `docs/en/reference/basic-mapping.rst` (+7 -5) 📝 `docs/en/tutorials/getting-started.rst` (+2 -2) 📝 `phpstan-baseline.neon` (+30 -36) 📝 `phpstan-dbal3.neon` (+5 -5) 📝 `phpstan.neon` (+3 -3) 📝 `src/Mapping/ClassMetadata.php` (+3 -3) 📝 `src/Mapping/Driver/AttributeDriver.php` (+10 -4) 📝 `src/ORMSetup.php` (+5 -4) 📝 `src/Persisters/Collection/ManyToManyPersister.php` (+10 -3) 📝 `src/Persisters/Entity/BasicEntityPersister.php` (+7 -129) 📝 `src/Utility/PersisterHelper.php` (+127 -0) 📝 `tests/Performance/EntityManagerFactory.php` (+8 -9) ➕ `tests/Tests/Mocks/AttributeDriverFactory.php` (+34 -0) 📝 `tests/Tests/Mocks/EntityManagerMock.php` (+1 -2) ➕ `tests/Tests/Models/Enums/BookCategory.php` (+30 -0) ➕ `tests/Tests/Models/Enums/BookGenre.php` (+11 -0) ➕ `tests/Tests/Models/Enums/BookWithGenre.php` (+38 -0) _...and 23 more files_ </details> ### 📄 Description Fixes: 1. getPropertyAccessors returns PropertyAccessor instead ReflectionProperties 2. getPropertyAccessors returns associative array mapped by accessor name, not a list --- <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:23 +01:00
admin closed this issue 2026-01-22 16:17:24 +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#13530