DDC-3984: Drop support for backslash-prefixed class names #4864

Open
opened 2026-01-22 14:50:49 +01:00 by admin · 1 comment
Owner

Originally created by @doctrinebot on GitHub (Nov 8, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @ocramius:

Class names in strings should NEVER be prefixed with the \ character.

A class like "\Foo\Bar" should always be represented as "Foo\Bar" inside a string, or else the mapping system should just reject it.

Originally created by @doctrinebot on GitHub (Nov 8, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @ocramius: Class names in strings should NEVER be prefixed with the `\` character. A class like `"\Foo\Bar"` should always be represented as `"Foo\Bar"` inside a string, or else the mapping system should just reject it.
Author
Owner

@doctrinebot commented on GitHub (Nov 8, 2015):

@doctrinebot commented on GitHub (Nov 8, 2015): - relates to [DDC-3985: Drop support for same-namespace names resolution](http://www.doctrine-project.org/jira/browse/DDC-3985)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4864