Skip to content

IBX-12046: Replaced deprecated DBAL quoteIdentifier() calls with quoteSingleIdentifier() - #358

Merged
ViniTou merged 1 commit into
6.0from
IBX-12046-dbal-quote-single-identifier
Sep 24, 2026
Merged

ViniTou merged 1 commit into
6.0from
IBX-12046-dbal-quote-single-identifier

Conversation

@ViniTou

@ViniTou ViniTou commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12046

Related PRs:

Description:

DBAL 4.4 deprecates quoteIdentifier() ("Use quoteSingleIdentifier() individually for each part of a qualified name instead", doctrine/dbal#6590). DoctrineBundle 3 — required by Symfony 8 — drops dbal.use_savepoints, whose deprecation was what kept every Doctrine deprecation silent in our test kernels, so these calls must go before that switch.

The two calls in RichTextStorage\Gateway\DoctrineStorage and the two in RichTextFieldTypeIntegrationTest quote single, undotted column names and are replaced one-for-one; the generated SQL is identical.

For QA:

No functional change. PHP 8.3 and 8.4, fresh composer update: unit, integration and legacy integration suites exit 0 (the Solr legacy suite needs a live Solr server, fails identically without this change), PHPStan and code style clean. No remaining quoteIdentifier() calls; with ibexa/test-core#59 installed, all remaining callers are in ibexa/core.

Documentation:

N/A

…eSingleIdentifier()

DBAL 4.4 deprecates Connection::quoteIdentifier() in favor of quoteSingleIdentifier(),
called once per part of a qualified name; all call sites here pass plain, non-dotted
identifier literals, so the replacement is a direct rename with no semantic change.
@sonarqubecloud

Copy link
Copy Markdown

@ViniTou
ViniTou merged commit b5da05d into 6.0 Sep 24, 2026
18 checks passed
@ViniTou
ViniTou deleted the IBX-12046-dbal-quote-single-identifier branch September 24, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants