mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #1050] [CLOSED] DDC-3120 -- Catch ReflectionException for internal classes in ClassMetad... #9087
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/1050
Author: @jbottigliero
Created: 6/6/2014
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
9cdd495DDC-3120 -- Catch ReflectionException for internal classes in ClassMetadataInfo64973c1[DDC-3156] [DDC-3120] -- Added test case for entities extending SPL ArrayObject50fe372Merge remote-tracking branch 'upstream/master'📊 Changes
3 files changed (+50 additions, -5 deletions)
View changed files
📝
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(+5 -1)➕
tests/Doctrine/Tests/Models/DDC3120/DDC3120EntityOne.php(+32 -0)📝
tests/Doctrine/Tests/ORM/EntityManagerTest.php(+13 -4)📄 Description
...ataInfo
I’m having an issue in relation to http://www.doctrine-project.org/jira/browse/DDC-3120 — When using ReflectionClass#newInstanceWithoutConstructor(); I’m getting a ReflectionException due to the class not being internal… it’s resolveable by adding a try/catch to use ReflectionClass#newInstance. BUT, I’d like to know if there is something else going on here… running PHP 5.5.13
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.