mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #330] [MERGED] improved exception message #8037
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:betterExMessage📝 Commits (1)
84ec6dcimproved 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.