Project

General

Profile

Actions

Epic #101601

open

Replace usages of getMockForAbstractClass

Added by Oliver Klee 9 months ago. Updated 7 months ago.

Status:
New
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 #1

Updated by Oliver Klee 9 months ago

  • Tracker changed from Task to Epic
  • TYPO3 Version deleted (13)
Actions #2

Updated by Oliver Klee 9 months ago

  • Subtask #101609 added
Actions #3

Updated by Oliver Klee 9 months ago

  • Subtask #101630 added
Actions #4

Updated by Oliver Klee 9 months ago

  • Subtask #101661 added
Actions #5

Updated by Oliver Klee 9 months ago

  • Subtask #101665 added
Actions #6

Updated by Oliver Klee 9 months ago

  • Subtask #101666 added
Actions #7

Updated by Oliver Klee 8 months ago

  • Related to Task #101892: Stop using getAccessibleMockForAbstractClass in EXT:core added
Actions #8

Updated by Oliver Klee 7 months ago

  • Related to Task #102117: Migrate getAccessibleMockForAbstractClass for EXT:form controller tests added
Actions #9

Updated by Oliver Klee 7 months ago

  • Subtask #101892 added
Actions #10

Updated by Oliver Klee 7 months ago

  • Subtask #102117 added
Actions

Also available in: Atom PDF