Project

General

Profile

Actions

Task #100048

closed

Ensure that getFileContents returns correct type in YamlFileLoader

Added by Thomas Hohn over 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Start date:
2023-02-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Sprint Focus:

Description

The method getFileContents in YamlFileLoader has return type string, but it has
a call to file_get_contents that can return string or false. Ensure that a string
is always returned.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #99926: PHP Warning when file does not exists.ClosedThomas Hohn2023-02-10

Actions
Actions

Also available in: Atom PDF