Project

General

Profile

Actions

Bug #71567

closed

Bug #72932: PHP Warning: Incompatible method declaration in Extbase

FAL FileReference

Added by Frank Buijze over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Start date:
2015-11-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
PHP7
Complexity:
Is Regression:
No
Sprint Focus:

Description

The following error occurs when switching from PHP 5.6 to PHP 7 in combination with TYPO3 7.6 LTS

1: PHP Warning: Declaration of TYPO3\CMS\Extbase\Domain\Model\FileReference::setOriginalResource(TYPO3\CMS\Core\Resource\FileReference $originalResource) should be compatible with TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder::setOriginalResource(TYPO3\CMS\Core\Resource\ResourceInterface $originalResource) in ***/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Domain/Model/FileReference.php line 22

Actions

Also available in: Atom PDF