Issue Bug Closed

#76902Method signature parameters raises a Warning with config.tx_extbase.objects.TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap.className = Foo\Bar\Zoo

Juan Manuel Vergés Solanas 07/01/16, 08:41 updated 03/11/19, 21:26

Description

Hi there,

http://php.net/manual/de/migration70.incompatible.php#migration70.incompatible.error-handling.strict

This kind of functionality provided by extbase -> config.tx_extbase.objects.TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap.className = Foo\Bar\Zoo will fail in most of the cases with PHP7 as we don’t use interfaces as much as we could.

I found this working with ext:faltranslation https://bitbucket.org/t3easy_de/faltranslation which help us to handle Extbase related files and images (relations) for ext:news with multi-language (use case: a new of ext:news is written in 3 languages and each one have a PDF file which is written in the current language)

Jan Kiesewetter found in the meanwhile this side issue: https://forge.typo3.org/issues/76901

Anyone agrees with me, covering with interfaces this, could be a good idea?

I already saw some other issues related with signatures and php7 diving into the community.

Best wishes ,
Juan Manuel.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.