Project

General

Profile

Actions

Bug #91929

closed

PHP Warning A non-numeric value encountered in PhpErrorCodeViewHelper.php

Added by Kevin Ditscheid over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2020-08-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.1
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

TYPO3 Fluid does not actually check the int datatype of the phpErrorCode argument. Therefore the condition could throw a warning for non-numeric value comparison in PHP 7.1. With an int type cast of the argument, this warning could be prevented.

Actions

Also available in: Atom PDF