Review main Merged

69297[TASK] Update PHPunit to v9

Benni Mack CR +2 V +2 Expert +909 −374 updated 05/25/22, 19:28

Commit message

PHPunit v9 allows to use further improvements to our testing
API, and also offers extended support until at least Feb 2022.

PHPunit v9 requires PHP 7.3+ which isn't a problem
for us per-se.

In addition, composer does not complain about
an abandoned package anymore if we upgrade to PHPunit 9.

In order to achieve this, we need to explicitly
require "codeception/phpunit-wrapper:^9.0" which we
can then remove later-on again.

Used composer commands:
> composer req --dev "phpunit/phpunit:^9.5" "phpspec/prophecy-phpunit" "codeception/phpunit-wrapper:^9.0" -W
> composer req --dev "phpunit/phpunit:^9.5" "phpspec/prophecy-phpunit" -d typo3/sysext/core --no-update
> composer remove --dev codeception/phpunit-wrapper

Used rector to migrate all Unit tests to prevent warnings..

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 223

Show 203 more files