Review main Merged

88842[TASK] Update `phpstan/phpstan` and mitigate reportings

Stefan Bürk CR +2 V +2 Easy +24 −25 updated 03/31/25, 05:46

Commit message

This change updates phpstan to a newer version and
includes minor adoption to mitigate new findings.

Note that this has not been detected recently with
the nightlies due to an issue with packagist data
retrieval having this change as preparation to fix
it with a dedicated change.

Adoptions before generateing baseline are adjusted
for backports.

Used command(s):

```
Build/Scripts/runTests.sh -s composer -- require --dev \
  'phpstan/phpstan':'^2.1.11' \
  'phpstan/phpstan-phpunit':'^2.0.6' \
&& Build/Scripts/runTests.sh -s phpstanGenerateBaseline
```

Review

  • Code review CR +2 Done
    • Georg Ringer +2
    • Garvin Hicking +1
  • Verified V +2 Done
    • Georg Ringer +2
    • Garvin Hicking +1
    • core-ci +1 CI

Issues 1

Files 7

Review log 69

  1. Stefan Bürk uploaded patch set 1 03/30/25, 19:37

  2. core-ci voted on patch set 1 V -1 03/30/25, 19:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76684

  3. Stefan Bürk uploaded patch set 2 V -1 03/30/25, 19:49

  4. core-ci voted on patch set 2 V +1 03/30/25, 19:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76687

  5. Stefan Bürk uploaded patch set 3 V +1 03/30/25, 20:03

  6. core-ci voted on patch set 3 V +1 03/30/25, 20:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76691

  7. Garvin Hicking voted on patch set 3 CR +1 V +1 03/30/25, 20:18

  8. Georg Ringer voted on patch set 3 CR +2 V +2 03/31/25, 05:46

  9. Georg Ringer merged patch set 4 03/31/25, 05:46