[PR #397] [MERGED] Cleanup/removing deprecated metadata drivers #8125

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/397
Author: @Ocramius
Created: 7/10/2012
Status: Merged
Merged: 7/12/2012
Merged by: @beberlei

Base: masterHead: cleanup/removing-deprecated-metadata-drivers


📝 Commits (6)

  • e2c1d7c Removing deprecated StaticPHPDriver and PHPDriver
  • 01f0589 Removing DriverChain and using Doctrine\Common implementation instead
  • f3aae5d Removing tests moved to Doctrine\Common
  • 915da58 Adding upgrade notes about the BC Break
  • a2e00a9 Reverting change on referenced DBAL commit
  • 75276e4 Restoring class names extending the Doctrine\Common implementation for BC compatibility

📊 Changes

9 files changed (+29 additions, -391 deletions)

View changed files

📝 UPGRADE.md (+6 -0)
📝 lib/Doctrine/ORM/Mapping/Driver/DriverChain.php (+4 -76)
📝 lib/Doctrine/ORM/Mapping/Driver/PHPDriver.php (+4 -51)
📝 lib/Doctrine/ORM/Mapping/Driver/StaticPHPDriver.php (+5 -122)
📝 lib/vendor/doctrine-common (+1 -1)
tests/Doctrine/Tests/ORM/Mapping/DriverChainTest.php (+0 -131)
📝 tests/Doctrine/Tests/ORM/Mapping/PHPMappingDriverTest.php (+2 -2)
📝 tests/Doctrine/Tests/ORM/Mapping/StaticPHPMappingDriverTest.php (+1 -1)
📝 tests/Doctrine/Tests/ORM/Tools/Export/AbstractClassMetadataExporterTest.php (+6 -7)

📄 Description

Removing deprecated drivers that are already available in Doctrine\Common.
This PR depends on doctrine/common#164/ For now it fails since the referenced git submodule for Doctrine\Common points to a commit that isn't yet in the common repository.

Build Status


🔄 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/397 **Author:** [@Ocramius](https://github.com/Ocramius) **Created:** 7/10/2012 **Status:** ✅ Merged **Merged:** 7/12/2012 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `cleanup/removing-deprecated-metadata-drivers` --- ### 📝 Commits (6) - [`e2c1d7c`](https://github.com/doctrine/orm/commit/e2c1d7c38a6d3b75ebdf53b2269edf13e9bd9ec2) Removing deprecated StaticPHPDriver and PHPDriver - [`01f0589`](https://github.com/doctrine/orm/commit/01f058953bd9ca1d8ffbb8125113701983e3cb50) Removing DriverChain and using Doctrine\Common implementation instead - [`f3aae5d`](https://github.com/doctrine/orm/commit/f3aae5de0ebed2f39b61ad0521a9ed88afd57820) Removing tests moved to Doctrine\Common - [`915da58`](https://github.com/doctrine/orm/commit/915da58fb768a8aaa8c59ff33d1b6121f306dd3b) Adding upgrade notes about the BC Break - [`a2e00a9`](https://github.com/doctrine/orm/commit/a2e00a96cc4aa8cc10b9819c1abd334e42200066) Reverting change on referenced DBAL commit - [`75276e4`](https://github.com/doctrine/orm/commit/75276e453e75b0413148b448d4548806f9fa1c17) Restoring class names extending the Doctrine\Common implementation for BC compatibility ### 📊 Changes **9 files changed** (+29 additions, -391 deletions) <details> <summary>View changed files</summary> 📝 `UPGRADE.md` (+6 -0) 📝 `lib/Doctrine/ORM/Mapping/Driver/DriverChain.php` (+4 -76) 📝 `lib/Doctrine/ORM/Mapping/Driver/PHPDriver.php` (+4 -51) 📝 `lib/Doctrine/ORM/Mapping/Driver/StaticPHPDriver.php` (+5 -122) 📝 `lib/vendor/doctrine-common` (+1 -1) ➖ `tests/Doctrine/Tests/ORM/Mapping/DriverChainTest.php` (+0 -131) 📝 `tests/Doctrine/Tests/ORM/Mapping/PHPMappingDriverTest.php` (+2 -2) 📝 `tests/Doctrine/Tests/ORM/Mapping/StaticPHPMappingDriverTest.php` (+1 -1) 📝 `tests/Doctrine/Tests/ORM/Tools/Export/AbstractClassMetadataExporterTest.php` (+6 -7) </details> ### 📄 Description Removing deprecated drivers that are already available in Doctrine\Common. This PR depends on doctrine/common#164/ For now it fails since the referenced git submodule for Doctrine\Common points to a commit that isn't yet in the common repository. [![Build Status](https://secure.travis-ci.org/Ocramius/doctrine2.png?branch=cleanup/removing-deprecated-metadata-drivers)](http://travis-ci.org/Ocramius/doctrine2) --- <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 15:58:31 +01:00
admin closed this issue 2026-01-22 15:58:32 +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#8125