Review 11.5 Merged

72677[BUGFIX] Always return a string for PHP 8.1

Benni Mack CR +2 V +2 Easy +17 −13 updated 12/15/21, 15:35

Commit message

The following deprecation occurred in PHP 8.1:
PHP Runtime Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated.

This happens in various places:
* Using stdWrap_field() or in stdWrap() places
* BackendUtility (e.g. new IRRE elements)
* ExtensionManager

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 34

  1. Benni Mack commented on patch set 1 12/15/21, 14:11

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 12/15/21, 14:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/21129

  3. Benni Mack voted on patch set 1 V +2 CR +2 12/15/21, 15:35

  4. Benni Mack merged patch set 2 12/15/21, 15:35