Project

General

Profile

Actions

Task #101609

closed

Epic #101601: Replace usages of getMockForAbstractClass

Mock interfaces instead of abstract classes

Added by Oliver Klee 10 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2023-08-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

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.

Actions

Also available in: Atom PDF