mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #667] [CLOSED] DQL: Allow parameter name to start with any allowed character #8523
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/667
Author: @juzna
Created: 5/13/2013
Status: ❌ Closed
Base:
master← Head:fix/dql-param-names📝 Commits (1)
499372bDQL: Allow parameter name to start with any allowed character📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Query/Lexer.php(+1 -1)📄 Description
Especially, do not require it to start with a letter. A number is good enough as well. Why is was it not enabled anyway?
It's most useful when parameter names are auto generated, e.g. using sha1 or md5.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.