[PR #12342] [MERGED] Add Override attribute where applicable #13714

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/12342
Author: @greg0ire
Created: 1/11/2026
Status: Merged
Merged: 1/13/2026
Merged by: @greg0ire

Base: 4.0.xHead: override


📝 Commits (1)

  • 59f7f67 Add Override attribute where applicable

📊 Changes

209 files changed (+846 additions, -0 deletions)

View changed files

📝 phpstan.neon (+1 -0)
📝 src/Cache/DefaultCache.php (+15 -0)
📝 src/Cache/DefaultCacheFactory.php (+9 -0)
📝 src/Cache/DefaultCollectionHydrator.php (+3 -0)
📝 src/Cache/DefaultEntityHydrator.php (+3 -0)
📝 src/Cache/DefaultQueryCache.php (+5 -0)
📝 src/Cache/Logging/CacheLoggerChain.php (+10 -0)
📝 src/Cache/Logging/StatisticsCacheLogger.php (+10 -0)
📝 src/Cache/Persister/Collection/AbstractCollectionPersister.php (+12 -0)
📝 src/Cache/Persister/Collection/NonStrictReadWriteCachedCollectionPersister.php (+5 -0)
📝 src/Cache/Persister/Collection/ReadOnlyCachedCollectionPersister.php (+2 -0)
📝 src/Cache/Persister/Collection/ReadWriteCachedCollectionPersister.php (+5 -0)
📝 src/Cache/Persister/Entity/AbstractEntityPersister.php (+29 -0)
📝 src/Cache/Persister/Entity/NonStrictReadWriteCachedEntityPersister.php (+5 -0)
📝 src/Cache/Persister/Entity/ReadOnlyCachedEntityPersister.php (+2 -0)
📝 src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php (+5 -0)
📝 src/Cache/Region/DefaultRegion.php (+8 -0)
📝 src/Cache/Region/FileLockRegion.php (+10 -0)
📝 src/Cache/Region/UpdateTimestampCache.php (+2 -0)
📝 src/Cache/TimestampQueryCacheValidator.php (+3 -0)

...and 80 more files

📄 Description

Note: many @inheritDoc annotations have become redundant because of this, but let us wait on https://github.com/slevomat/coding-standard/issues/1824 before attempting to address that.


🔄 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/12342 **Author:** [@greg0ire](https://github.com/greg0ire) **Created:** 1/11/2026 **Status:** ✅ Merged **Merged:** 1/13/2026 **Merged by:** [@greg0ire](https://github.com/greg0ire) **Base:** `4.0.x` ← **Head:** `override` --- ### 📝 Commits (1) - [`59f7f67`](https://github.com/doctrine/orm/commit/59f7f6793d5d20968098a7bce683bc265701cb03) Add Override attribute where applicable ### 📊 Changes **209 files changed** (+846 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `phpstan.neon` (+1 -0) 📝 `src/Cache/DefaultCache.php` (+15 -0) 📝 `src/Cache/DefaultCacheFactory.php` (+9 -0) 📝 `src/Cache/DefaultCollectionHydrator.php` (+3 -0) 📝 `src/Cache/DefaultEntityHydrator.php` (+3 -0) 📝 `src/Cache/DefaultQueryCache.php` (+5 -0) 📝 `src/Cache/Logging/CacheLoggerChain.php` (+10 -0) 📝 `src/Cache/Logging/StatisticsCacheLogger.php` (+10 -0) 📝 `src/Cache/Persister/Collection/AbstractCollectionPersister.php` (+12 -0) 📝 `src/Cache/Persister/Collection/NonStrictReadWriteCachedCollectionPersister.php` (+5 -0) 📝 `src/Cache/Persister/Collection/ReadOnlyCachedCollectionPersister.php` (+2 -0) 📝 `src/Cache/Persister/Collection/ReadWriteCachedCollectionPersister.php` (+5 -0) 📝 `src/Cache/Persister/Entity/AbstractEntityPersister.php` (+29 -0) 📝 `src/Cache/Persister/Entity/NonStrictReadWriteCachedEntityPersister.php` (+5 -0) 📝 `src/Cache/Persister/Entity/ReadOnlyCachedEntityPersister.php` (+2 -0) 📝 `src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php` (+5 -0) 📝 `src/Cache/Region/DefaultRegion.php` (+8 -0) 📝 `src/Cache/Region/FileLockRegion.php` (+10 -0) 📝 `src/Cache/Region/UpdateTimestampCache.php` (+2 -0) 📝 `src/Cache/TimestampQueryCacheValidator.php` (+3 -0) _...and 80 more files_ </details> ### 📄 Description Note: many `@inheritDoc` annotations have become redundant because of this, but let us wait on https://github.com/slevomat/coding-standard/issues/1824 before attempting to address that. --- <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:15 +01:00
admin closed this issue 2026-01-22 16:18:16 +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#13714