Review main Merged

78631[TASK] Ensure working phpunit 10.1 for unit- and functional tests

Stefan Bürk CR +2 V +2 Normal +50 −27 updated 04/14/23, 23:50

Commit message

PhpUnit 10.1 changed again some things from 10.0 -> 10.1,
like removing `RiskyTestError` exception and moving the
PhpUnit ErrorHandler to another namespace. Beside this,
phpunit 10.1 also needs a further config file migration
to additionl changed config file requirements.

This change updates typo3/testing-framework which contains
the fixes to be phpunit 10.1 compat, adjusts the config
files and ensures 10.1 for the unit10 and functional10 tests.

Additionally, the phpunit 10 unit and function config files
are adjusted to let notices and deprecations fail again and
therefore restore the wanted behaviour from phpunit 9 and
the removed `convert*ToException` options.

Used command(s):

> composer update typo3/testing-framework
> Build/Scripts/runTests.sh -s unit10 \
  -e '--migrate-configuration'
> Build/Scripts/runTests.sh -s unitDeprecated10 \
  -e '--migrate-configuration'
> Build/Scripts/runTests.sh -s functional10 \
  -e '--migrate-configuration'
> Build/Scripts/runTests.sh -s functionalDeprecated10 \
  -e '--migrate-configuration'

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 3

Files 6