Actions
Bug #83570
closedNew warning in PHP7.2 spams the logs and decreases performance
Start date:
2018-01-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.2
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
When Typo tries to get the name of an object it may cause a warning if the parameter given to get_class() is either not an object or null. The supplied patch fixes the issue. I've only observed this issue on PHP 7.2
The file in question is: ./vendor/typo3/cms/typo3/sysext/extbase/Classes/Service/ImageService.php
P.S.: Do I have to fork Typo and create a Pull Request or is this patch sufficient? I hope I didn't set any properties I am not allowed to set in the bug report.
Files
Actions