Project

General

Profile

Actions

Epic #101601

closed

Replace usages of getMockForAbstractClass

Added by Oliver Klee over 1 year ago. Updated 7 months 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 #1

Updated by Oliver Klee over 1 year ago

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

Updated by Oliver Klee over 1 year ago

  • Subtask #101609 added
Actions #3

Updated by Oliver Klee over 1 year ago

  • Subtask #101630 added
Actions #4

Updated by Oliver Klee over 1 year ago

  • Subtask #101661 added
Actions #5

Updated by Oliver Klee over 1 year ago

  • Subtask #101665 added
Actions #6

Updated by Oliver Klee over 1 year ago

  • Subtask #101666 added
Actions #7

Updated by Oliver Klee over 1 year ago

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

Updated by Oliver Klee about 1 year ago

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

Updated by Oliver Klee about 1 year ago

  • Subtask #101892 added
Actions #10

Updated by Oliver Klee about 1 year ago

  • Subtask #102117 added
Actions #11

Updated by Benni Mack 7 months ago

  • Status changed from New to Closed

Closing this issue as all occurrences have been removed.

Actions

Also available in: Atom PDF