Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • typo3
  • sysext
  • frontend
  • Classes
  • ContentObject
  • ContentObjectRenderer.php
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [BUGFIX] Fix deprecated functionality in Doctrine DBAL 3.x API · e4211cf1
    Benni Mack authored Dec 03, 2021
    The past changes of migrating to Doctrine DBAL 3.x
    had some flaws:
    
    * Not all changes from Doctrine DBAL 3.x was applied
    * core relies on various invalid interfaces and classes, so the
      return types were wrong (also Tests used the old Statement class)
    * No explicit ->execute() and ->iterateAssociative() calls
      and fetchColumn() vs. fetchOne()
    * added executeQuery() and executeStatement() to QueryBuilder
      decorator class
    
    This change adapts most places to help in migrating to Doctrine DBAL
    3.x for TYPO3 v12, but also avoids some unneeded deprecations for now.
    
    Resolves: #96247
    Releases: main, 11.5
    Change-Id: I60e99511efc4f9ec6d8d651c63becff028de4cf2
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72430
    
    
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    e4211cf1