[PR #516] [MERGED] Allow running tests with composer #8311

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/516
Author: @lstrojny
Created: 11/17/2012
Status: Merged
Merged: 11/17/2012
Merged by: @beberlei

Base: masterHead: bug/phpunit-composer


📝 Commits (1)

  • bb3eeff Allow running tests with composer

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 tests/Doctrine/Tests/TestInit.php (+2 -1)

📄 Description

To make it as easy as possible to run tests with a composer installed doctrine2, this PR changes the TestInit.php to load the ClassLoader from $GLOBALS['DOCTRINE_COMMON_PATH'] if one is set.


🔄 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/516 **Author:** [@lstrojny](https://github.com/lstrojny) **Created:** 11/17/2012 **Status:** ✅ Merged **Merged:** 11/17/2012 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `bug/phpunit-composer` --- ### 📝 Commits (1) - [`bb3eeff`](https://github.com/doctrine/orm/commit/bb3eeffe78274ffd0cb2dac0924a896dbef85abe) Allow running tests with composer ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/Doctrine/Tests/TestInit.php` (+2 -1) </details> ### 📄 Description To make it as easy as possible to run tests with a composer installed doctrine2, this PR changes the `TestInit.php` to load the ClassLoader from `$GLOBALS['DOCTRINE_COMMON_PATH']` if one is set. --- <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:59:20 +01:00
admin closed this issue 2026-01-22 15:59:21 +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#8311