Review 12.4 Merged

85934[TASK] Raise "phpstan/phpstan":"^1.12.3"

Stefan Bürk CR +2 V +2 Easy +11 −8 updated 09/09/24, 20:31

Commit message

PHPStan released a new version containing a bug
starting to report an error if a class extends
the native PHP `\SplObjectStorage` class [1]:

    Non-abstract class ... contains abstract method
    seek() from interface SeekableIterator.

Sadly, this is a not-ignorable error and cannot be
added to the baseline.

This change upgrades the version to the faulty version
and excludes the one file meanwhile. Not good, but the
only suitable solution for now.

Used command(s):

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

[1] https://github.com/phpstan/phpstan/issues/11665

Review

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

Issues 1

Files 4

Review log 45

  1. Stefan Bürk uploaded patch set 1 09/09/24, 19:14

  2. core-ci voted on patch set 1 V +1 09/09/24, 19:25 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/65139

  3. Christian Kuhn voted on patch set 1 CR +1 V +1 09/09/24, 19:55

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

  5. Stefan Bürk merged patch set 2 09/09/24, 20:31