Review 13.4 Merged

92808[TASK] Update PHPStan to v2.1.39

Garvin Hicking CR +2 V +2 Easy +7 −13 updated 02/12/26, 08:30

Commit message

Updates PHPStan to the latest version 2.1.39 and regenerates the
baseline. Since the relevant `is_array` check is actually superfluous,
it is removed. In addition, global functions used in functional tests
are added to PHPStan's bootstrap files in order to make PHPStan aware of
the available functions.

Executed commands:

> Build/Scripts/runTests.sh -s composer -- \
      require --dev phpstan/phpstan:^2.1.39
> Build/Scripts/runTests.sh -s phpstanGenerateBaseline

Review

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

Issues 1

Files 4

Review log 57

  1. Garvin Hicking commented on patch set 1 02/12/26, 07:06

    Cherry Picked from branch main. The following files contain Git conflicts: * composer.lock
  2. core-ci voted on patch set 1 V -1 02/12/26, 07:10 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95686

  3. Garvin Hicking uploaded patch set 2 V -1 02/12/26, 08:10

  4. Garvin Hicking marked it ready for review 02/12/26, 08:12

  5. core-ci voted on patch set 2 V +1 02/12/26, 08:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95692

  6. Benni Mack voted on patch set 2 CR +2 V +2 02/12/26, 08:30

  7. Benni Mack merged patch set 3 02/12/26, 08:30