[PR #947] [MERGED] Cleaned up further unused imports. #8940

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/947
Author: @BenMorel
Created: 2/9/2014
Status: Merged
Merged: 2/10/2014
Merged by: @Ocramius

Base: masterHead: unused-imports


📝 Commits (1)

  • 08f6291 Cleaned up further unused imports.

📊 Changes

23 files changed (+0 additions, -40 deletions)

View changed files

📝 lib/Doctrine/ORM/AbstractQuery.php (+0 -1)
📝 lib/Doctrine/ORM/Cache.php (+0 -2)
📝 lib/Doctrine/ORM/Cache/CacheConfiguration.php (+0 -3)
📝 lib/Doctrine/ORM/Cache/CollectionHydrator.php (+0 -2)
📝 lib/Doctrine/ORM/Cache/ConcurrentRegion.php (+0 -2)
📝 lib/Doctrine/ORM/Cache/DefaultCacheFactory.php (+0 -2)
📝 lib/Doctrine/ORM/Cache/DefaultCollectionHydrator.php (+0 -2)
📝 lib/Doctrine/ORM/Cache/DefaultEntityHydrator.php (+0 -2)
📝 lib/Doctrine/ORM/Cache/DefaultQueryCache.php (+0 -3)
📝 lib/Doctrine/ORM/Cache/EntityHydrator.php (+0 -2)
📝 lib/Doctrine/ORM/Cache/QueryCacheValidator.php (+0 -2)
📝 lib/Doctrine/ORM/Cache/Region.php (+0 -2)
📝 lib/Doctrine/ORM/Cache/TimestampQueryCacheValidator.php (+0 -3)
📝 lib/Doctrine/ORM/Event/LifecycleEventArgs.php (+0 -1)
📝 lib/Doctrine/ORM/Event/PreUpdateEventArgs.php (+0 -1)
📝 lib/Doctrine/ORM/Mapping/AnsiQuoteStrategy.php (+0 -1)
📝 lib/Doctrine/ORM/Mapping/DefaultQuoteStrategy.php (+0 -1)
📝 lib/Doctrine/ORM/Mapping/QuoteStrategy.php (+0 -1)
📝 lib/Doctrine/ORM/Query/FilterCollection.php (+0 -1)
📝 lib/Doctrine/ORM/Query/QueryExpressionVisitor.php (+0 -2)

...and 3 more files

📄 Description

Further cleanup of unused use statements.

Sorry for the extra PR, I previously missed the less obvious ones that were importing classes from their own namespace, for example:

namespace Doctrine\ORM;
use Doctrine\ORM\EntityManagerInterface;

🔄 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/947 **Author:** [@BenMorel](https://github.com/BenMorel) **Created:** 2/9/2014 **Status:** ✅ Merged **Merged:** 2/10/2014 **Merged by:** [@Ocramius](https://github.com/Ocramius) **Base:** `master` ← **Head:** `unused-imports` --- ### 📝 Commits (1) - [`08f6291`](https://github.com/doctrine/orm/commit/08f6291350bcebf90a3a96e83fc2f658756d0290) Cleaned up further unused imports. ### 📊 Changes **23 files changed** (+0 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/AbstractQuery.php` (+0 -1) 📝 `lib/Doctrine/ORM/Cache.php` (+0 -2) 📝 `lib/Doctrine/ORM/Cache/CacheConfiguration.php` (+0 -3) 📝 `lib/Doctrine/ORM/Cache/CollectionHydrator.php` (+0 -2) 📝 `lib/Doctrine/ORM/Cache/ConcurrentRegion.php` (+0 -2) 📝 `lib/Doctrine/ORM/Cache/DefaultCacheFactory.php` (+0 -2) 📝 `lib/Doctrine/ORM/Cache/DefaultCollectionHydrator.php` (+0 -2) 📝 `lib/Doctrine/ORM/Cache/DefaultEntityHydrator.php` (+0 -2) 📝 `lib/Doctrine/ORM/Cache/DefaultQueryCache.php` (+0 -3) 📝 `lib/Doctrine/ORM/Cache/EntityHydrator.php` (+0 -2) 📝 `lib/Doctrine/ORM/Cache/QueryCacheValidator.php` (+0 -2) 📝 `lib/Doctrine/ORM/Cache/Region.php` (+0 -2) 📝 `lib/Doctrine/ORM/Cache/TimestampQueryCacheValidator.php` (+0 -3) 📝 `lib/Doctrine/ORM/Event/LifecycleEventArgs.php` (+0 -1) 📝 `lib/Doctrine/ORM/Event/PreUpdateEventArgs.php` (+0 -1) 📝 `lib/Doctrine/ORM/Mapping/AnsiQuoteStrategy.php` (+0 -1) 📝 `lib/Doctrine/ORM/Mapping/DefaultQuoteStrategy.php` (+0 -1) 📝 `lib/Doctrine/ORM/Mapping/QuoteStrategy.php` (+0 -1) 📝 `lib/Doctrine/ORM/Query/FilterCollection.php` (+0 -1) 📝 `lib/Doctrine/ORM/Query/QueryExpressionVisitor.php` (+0 -2) _...and 3 more files_ </details> ### 📄 Description Further cleanup of unused `use` statements. Sorry for the extra PR, I previously missed the less obvious ones that were importing classes from their own namespace, for example: ``` namespace Doctrine\ORM; use Doctrine\ORM\EntityManagerInterface; ``` --- <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:02: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#8940