Project

General

Profile

Actions

Epic #101601

closed

Replace usages of getMockForAbstractClass

Added by Oliver Klee 11 months ago. Updated about 1 month ago.

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

100%

Estimated time:
(Total: 0.00 h)
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.


Subtasks 7 (0 open7 closed)

Task #101609: Mock interfaces instead of abstract classesClosed2023-08-07

Actions
Task #101630: Replace usages of getMockForAbstractClass in EXT:coreClosedOliver Klee2023-08-09

Actions
Task #101661: Migrate getMockForAbstractClass() calls in EXT:formClosedOliver Klee2023-08-11

Actions
Task #101665: Unify comments for fixture classes of abstract classesClosedOliver Klee2023-08-11

Actions
Task #101666: Get rid of the remaining getMockForAbstractClass calls in EXT:coreClosedOliver Klee2023-08-11

Actions
Task #101892: Stop using getAccessibleMockForAbstractClass in EXT:coreClosedOliver Klee2023-09-10

Actions
Task #102117: Migrate getAccessibleMockForAbstractClass for EXT:form controller testsClosedOliver Klee2023-10-08

Actions
Actions

Also available in: Atom PDF