TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #96713
Issue Bug Closed

#96713Fix incorrect Prophecy usages

Oliver Klee 01/31/22, 22:20 updated 10/04/22, 08:38

Open in Forge Comment in Forge

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

Reviews 4

  • 11.5 73263[TASK] Use generics for ObjectProphecy class properties Related to this issue Merged Benjamin Franzke CR +2 V +2 → main Normal +78 −15 02/03/22, 08:10
  • main 73259[TASK] Use generics for ObjectProphecy class properties Related to this issue Merged Benjamin Franzke CR +2 V +2 → 11.5 Normal +78 −15 02/03/22, 08:07
  • main 73238[BUGFIX] Fix some incorrect usages of Prophecy Resolves this issue Merged Oliver Klee CR +2 V +2 → 11.5 Expert +276 −880 02/01/22, 16:51
  • 11.5 73257[BUGFIX] Fix some incorrect usages of Prophecy Resolves this issue Merged Stefan Bürk CR +2 V +2 → main Expert +276 −882 02/01/22, 10:59

Related issues 1

  • Task #96725Use generics for ObjectProphecy class properties Related to Closed v11 Benjamin Franzke 02/01/22, 15:52
Author
Oliver Klee
Priority
Should have
Category
Code Cleanup
Target version
12 LTS
TYPO3 version
11
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback