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
  • ..
  • master
  • Deprecation-90007-GlobalConstantsTYPO...
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [TASK] Move TYPO3_version constant to a dedicated class · cbc4a604
    Benni Mack authored Dec 18, 2019 and Oliver Hader's avatar Oliver Hader committed Jan 09, 2020
    To optimize TYPO3 for Opcaching and speeding up performance,
    as well as simplyfing the bootstrap (also for the testing framework)
    the constants
    * TYPO3_version
    * TYPO3_branch
    are moved to a new PHP class "Typo3Version".
    
    This reduces the necessity to define the constants, and since
    TYPO3 Bootstrap continues to use the class, the constants
    are defined in the constructor for TYPO3 v10, and will be removed
    in TYPO3 v11.
    
    Resolves: #90007
    Releases: master
    Change-Id: I18942023c0e234a328d45f724a6b3092c801982c
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62740
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
    Reviewed-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <t.motylewski@gmail.com>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
    cbc4a604