Repository navigation
Respect configured identifier folding - #12677
Conversation
Are those literal |
e0a97ef to
896329c
Compare
|
Good catch, those were literal \n characters in the commit message. I've reworded it so it has real line breaks. |
896329c to
18ddfdd
Compare
18ddfdd to
658f670
Compare
| # DBAL 4 compatibility | ||
| - | ||
| message: '~^Call to function method_exists\(\) with .* and ''getUnquotedIdentifi…'' will always evaluate to true\.$~' | ||
| path: src/Internal/SQLResultCasing.php |
There was a problem hiding this comment.
Please use a phpstan-ignore annotation with the error identifier. You should be able to find examples in the project.
There was a problem hiding this comment.
Done in 6792e4a: moved it to an inline @phpstan-ignore function.alreadyNarrowedType on the method_exists() call and reverted the phpstan.neon entry.
Use DBAL's configured folding for unquoted identifiers while preserving legacy casing on DBAL platforms without the folding API. Fixes doctrine#12272.
658f670 to
6792e4a
Compare
|
Thanks @SomSamantray |
Summary
Result aliases now use the configured unquoted identifier folding on every DBAL platform that exposes the API. On DBAL versions without it, PostgreSQL aliases are lowercased and DB2 and Oracle aliases are uppercased.
Fixes #12272.
Validation
AI disclosure
Prepared with OpenAI Codex assistance; the change and validation results were reviewed.