Task #102866
closedDoctrine DBAL deprecated maximum length methods from `AbstractPlatform`
100%
Description
Relying on the default and the maximum column lengths provided by the
Doctrine DBAL is deprecated. The following AbstractPlatform methods
and their implementations in specific platforms have been deprecated:
- AbstractPlatform::getCharMaxLength(),
- AbstractPlatform::getVarcharDefaultLength(),
- AbstractPlatform::getVarcharMaxLength(),
- AbstractPlatform::getBinaryDefaultLength(),
- AbstractPlatform::getBinaryMaxLength().
If required by the target platform(s), the column length should be
specified based on the application logic.
[1] https://github.com/doctrine/dbal/blob/3.8.x/UPGRADE.md#deprecated-abstractplatform-methods-that-describe-the-default-and-the-maximum-column-lengths
[2] https://github.com/doctrine/dbal/blob/3.8.x/UPGRADE.md#added-runtime-deprecations-for-the-default-string-column-length
[3] https://github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md#bc-break-changes-to-handling-binary-fields
Updated by Gerrit Code Review 10 months ago
- Status changed from New to Under Review
Patch set 1 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/+/82514
Updated by Gerrit Code Review 10 months ago
Patch set 2 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/+/82514
Updated by Stefan Bürk 10 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 410adb768f091209c3649052072e08d3cbb595cf.