Project

General

Profile

Actions

Task #97860

open

Use FileInterface where appropriate

Added by Oliver Klee over 2 years ago. Updated 12 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Start date:
2022-07-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

This is the class structure:

File extends AbstractFile implements FileInterface
ProcessedFile extends AbstractFile implements FileInterface

FileReference implements FileInterface

So we should check whether we could use FileInterface in the annotations in places where ProcessedFile|File is annotated to simplify things (and allow for easier mocking in tests).

Actions

Also available in: Atom PDF