Review 13.4 Merged

90415[TASK] Update phpunit/phpunit and dependencies

Stefan Bürk CR +2 V +2 Normal +120 −51 updated 08/17/25, 22:16

Commit message

This change updates phpunit to latest version of current
used major version along with dependent packages, mainly
to include fix for php8.5.0-beta1 deprecations. [1][2]

SplObjectStorage deprecation mitigation will be done in
a dedicated follow up.

Following phpunit and recursion-context version will be used:

* main - phpunit/phpunit:^11.5.33 sebastian/recursion-context:^6.0.3
* 13.4 - phpunit/phpunit:^11.5.33 sebastian/recursion-context:^6.0.3
* 12.4 - phpunit/phpunit:^10.5.52

Note that `sebastian/recursion-context` is now added as a direct
development dependency to a working version for PHP8.5 when the
`composerInstallMin` is used. Only for main and 13.4 because it
is ensured by phpunit:phpunit:10.5.52 as dependency already.

Used command(s):

> Build/Scripts/runTests.sh -s composer -- require --dev -w \
    'phpunit/phpunit':'^11.5.33' \
    'sebastian/recursion-context':'^6.0.3'

[1] https://github.com/sebastianbergmann/recursion-context/releases/tag/6.0.3
[2] https://github.com/php/php-src/blob/5f477d9457de1d78536961fa5679b638102b6631/UPGRADING#L410-L414

Review

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

Issues 1

Files 2

Review log 78

  1. Stefan Bürk uploaded patch set 1 08/16/25, 12:31

  2. core-ci voted on patch set 1 V +1 08/16/25, 12:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/83490

  3. Oliver Klee voted on patch set 1 CR +1 V +1 08/16/25, 14:55

  4. Simon Schaufelberger voted on patch set 1 CR +1 V +1 08/17/25, 06:18

  5. Simon Praetorius voted on patch set 1 CR +1 V +1 08/17/25, 06:35

  6. Garvin Hicking voted on patch set 1 CR +1 V +1 08/17/25, 09:33

  7. Stefan Bürk voted on patch set 1 CR +2 V +2 08/17/25, 22:16

  8. Stefan Bürk merged patch set 2 08/17/25, 22:16