Project

General

Profile

Actions

Task #102862

closed

Doctrine DBAL `AbstractPlatform::getIdentifierQuoteCharacter()` is deprecated

Added by Stefan Bürk 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2024-01-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

`AbstractPlatform::getIdentifierQuoteCharacter()`
is deprecated since Doctrine DBAL 3.7.x and will
be removed with Doctrine DBAL 4.x - with proposing
to use `AbstractPlatform::quoteIdentifier()` to
retrieve it. [1]2

The proposed way to mitigate this depraction looks like

 $quoteChar = (new AbstractPlatform)
   ->quoteSingleIdentifier('fake')[0];

[1] https://github.com/doctrine/dbal/blob/3.7.x/UPGRADE.md#deprecated-abstractplatform-methods-exposing-quote-characters
[2] https://github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md#bc-break-removed-abstractplatform-methods-exposing-quote-characters

Actions #1

Updated by Gerrit Code Review 4 months ago

  • Status changed from New to Under Review

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82508

Actions #2

Updated by Gerrit Code Review 4 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82508

Actions #3

Updated by Stefan Bürk 4 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack 4 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF