Project

General

Profile

Actions

Bug #96713

closed

Fix incorrect Prophecy usages

Added by Oliver Klee over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
Start date:
2022-01-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

- remove almost as many Prophecy-related warnings from the PHPStan baseline as possible
- fix incorrect type annotations for prophecies
- use native type annotations for prophecies
- remove redundant type annotations with Prophecy that are already covered by the PHPStan Prophecy plugin


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #96725: Use generics for ObjectProphecy class propertiesClosed2022-02-01

Actions
Actions

Also available in: Atom PDF