Review 12.4 Merged

80944[TASK] Migrate `getMockForAbstractClass()` calls in `EXT:form`

Benjamin Franzke CR +2 V +2 Hard +170 −232 updated 09/11/23, 08:43

Commit message

`getMockForAbstractClass` has been (soft-)deprecated in PHPUnit 10.1:
https://github.com/sebastianbergmann/phpunit/issues/5241

Hence, we should replace its usages to follow best practices and
avoid deprecation warnings later with PHPUnit 11.

We do this by creating dedicated fixture subclasses of the affected
abstract classes.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 2

Files 6

Review log 23

  1. Benjamin Franzke uploaded patch set 1 09/11/23, 08:13

    Cherry picked to be able to update 12.4 to phpunit v11
  2. core-ci voted on patch set 1 V +1 09/11/23, 08:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/46464

  3. Benjamin Franzke merged patch set 2 09/11/23, 08:43