Review main Merged

95484[TASK] Update PHPStan to v2.2.10

Stefan Bürk CR +2 V +2 Easy +6 −6 updated 08/31/26, 09:41

Commit message

Updates the PHPStan development dependency from `^2.2.7` to
`^2.2.10`, keeping all maintained branches on the same version.

PHPStan v2.2.10 changed how the boolean state of `$isSecondLine`
in the TypoScript tokenizers is determined, which cannot be
resolved in a better way at this time. It is only reported on
v13.4, where `treatPhpDocTypesAsCertain: false` is set for a
single rule instead of globally as on main and v14.3. The
regenerated PHPStan baseline is therefore part of the v13.4
backport only, while main and v14.3 raise the dependency alone.

Executed commands:

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

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
    • Garvin Hicking +1
  • Verified V +2 Done
    • Stefan Bürk +2
    • Garvin Hicking +1
    • core-ci +1 CI

Issues 1

Files 2

Review log 45

  1. Stefan Bürk uploaded patch set 1 08/31/26, 09:23

  2. core-ci voted on patch set 1 V +1 08/31/26, 09:34 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107397

  3. Garvin Hicking voted on patch set 1 CR +1 V +1 08/31/26, 09:40

  4. Stefan Bürk voted on patch set 1 CR +2 V +2 08/31/26, 09:41

  5. Stefan Bürk merged patch set 2 08/31/26, 09:41