Review 12.4 Merged

80137[TASK] Improve return type annotations for GU::trimExplode

Oliver Klee CR +2 V +2 Easy +3 −2 updated 07/25/23, 13:36

Commit message

This particularly helps PHPStan in extensions that call those methods
detect unnecessary checks for empty strings if
`GU::trimExplode` is called with `$removeEmptyValues = true`.

Used command:

> ./Build/Scripts/runTests.sh -s phpstanGenerateBaseline

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 2

Files 2

Review log 57

  1. Oliver Klee commented on patch set 1 07/25/23, 12:49

    Cherry Picked from branch main. The following files contain Git conflicts: * typo3/sysext/core/Classes/Utility/GeneralUtility.php
  2. core-ci voted on patch set 1 V -1 07/25/23, 13:10 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/44526

  3. Oliver Klee uploaded patch set 2 V -1 07/25/23, 13:12

  4. Oliver Klee marked it ready for review 07/25/23, 13:12

  5. core-ci voted on patch set 2 V +1 07/25/23, 13:28 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/44533

  6. Christian Kuhn voted on patch set 2 V +2 CR +2 07/25/23, 13:36

  7. Christian Kuhn merged patch set 3 07/25/23, 13:36