Review 13.4 Merged

95231[TASK] Raise phpunit/phpunit to ^11.5.56

Stefan Bürk CR +2 V +2 Normal +33 −36 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 -w

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

Review

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

Issues 2

Files 2

Review log 34

  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:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106339

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

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