Review main Merged

95225[TASK] Raise phpunit/phpunit to ^11.5.56

Stefan Bürk CR +2 V +2 Easy +11 −27 updated 08/11/26, 05:12

Commit message

PHP 8.6 deprecates returning a value from a constructor. PHPUnit
generated such a return statement in the constructor of a doubled
interface, which made the unit test suite emit a deprecation for
the EXT:install test doubles of `NodeInterface` and
`RootNodeInterface`.

That has been fixed upstream [1] and is released with 11.5.56, so
raising the development dependency is sufficient. The unit test
suite is free of deprecations with PHP 8.6 afterwards.

Used command(s):

    composer req --dev phpunit/phpunit ^11.5.56

[1] https://github.com/sebastianbergmann/phpunit/issues/6797

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 2

Files 2

Review log 45

  1. Stefan Bürk uploaded patch set 1 08/10/26, 22:15

  2. core-ci voted on patch set 1 V +1 08/10/26, 22:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106333

  3. Garvin Hicking voted on patch set 1 CR +1 V +1 08/10/26, 22:59

  4. Stefan Bürk voted on patch set 1 CR +2 V +2 08/11/26, 05:12

  5. Stefan Bürk merged patch set 2 08/11/26, 05:12