Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CMS
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • CI
  • CMS
  • Repository
Switch branch/tag
  • cms
  • ..
  • Controller
  • ActionController.php
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [TASK] Consistently use str_starts_with and str_ends_with · a1000353
    Benni Mack authored Sep 21, 2021
    With PHP 8.0 and symfony/polyfill-php80 it is possible to use
    native str_starts_with() and str_ends_with() methods.
    
    This way, the methods
    
    * StringUtility::beginsWith()
    * StringUtility::endsWith()
    
    are marked as deprecated.
    
    Resolves: #95293
    Releases: master
    Change-Id: I46d15c2f8b93c5f8b487966b2015ebefb1711348
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71135
    
    
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    a1000353