[PR #330] [MERGED] improved exception message #8037

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/330
Author: @schmittjoh
Created: 4/5/2012
Status: Merged
Merged: 5/4/2012
Merged by: @asm89

Base: masterHead: betterExMessage


📝 Commits (1)

  • 84ec6dc improved exception message

📊 Changes

2 files changed (+11 additions, -7 deletions)

View changed files

📝 lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php (+4 -2)
📝 lib/Doctrine/ORM/Mapping/MappingException.php (+7 -5)

📄 Description

This makes the exception message more helpful. Before you were basically searching a needle in a haystack.

Note that I haven't been able to run the tests because I don't have PHPUnit 3.6 atm, so please check before merging.


🔄 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/330 **Author:** [@schmittjoh](https://github.com/schmittjoh) **Created:** 4/5/2012 **Status:** ✅ Merged **Merged:** 5/4/2012 **Merged by:** [@asm89](https://github.com/asm89) **Base:** `master` ← **Head:** `betterExMessage` --- ### 📝 Commits (1) - [`84ec6dc`](https://github.com/doctrine/orm/commit/84ec6dc9f5925af77513fb6234f5f8b77ccfa2e5) improved exception message ### 📊 Changes **2 files changed** (+11 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php` (+4 -2) 📝 `lib/Doctrine/ORM/Mapping/MappingException.php` (+7 -5) </details> ### 📄 Description This makes the exception message more helpful. Before you were basically searching a needle in a haystack. Note that I haven't been able to run the tests because I don't have PHPUnit 3.6 atm, so please check before merging. --- <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:05 +01:00
admin closed this issue 2026-01-22 15:58:06 +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#8037