[TASK] Fix phpstan checkFunctionArgumentTypes errors in ext:frontend 64/65464/13
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Mon, 11 May 2020 15:33:41 +0000 (17:33 +0200)
committerDaniel Goerz <daniel.goerz@posteo.de>
Wed, 23 Sep 2020 16:39:00 +0000 (18:39 +0200)
commit7c34707e8e74da95e702498d8e2363596bcdb4be
tree945d35c8dfc91c3b87ba741748f692774ca2b78d
parent16cb944f43a72da9115023d24690a4becff4d440
[TASK] Fix phpstan checkFunctionArgumentTypes errors in ext:frontend

This patch fixes incompatible type usage in function arguments
and is preparatory work for introducing native type hints and
strict mode in all core files.

Releases: master, 10.4
Resolves: #92109
Change-Id: I475507b4b075c1de5cedd82875e49aefe1a42a79
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65464
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
24 files changed:
typo3/sysext/frontend/Classes/ContentObject/ContentContentObject.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/FilesContentObject.php
typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php
typo3/sysext/frontend/Classes/ContentObject/ImageContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/CategoryMenuUtility.php
typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php
typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php
typo3/sysext/frontend/Classes/ContentObject/ScalableVectorGraphicsContentObject.php
typo3/sysext/frontend/Classes/Controller/ShowImageController.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/DataProcessing/CommaSeparatedValueProcessor.php
typo3/sysext/frontend/Classes/DataProcessing/FilesProcessor.php
typo3/sysext/frontend/Classes/DataProcessing/SplitProcessor.php
typo3/sysext/frontend/Classes/Imaging/GifBuilder.php
typo3/sysext/frontend/Classes/Page/CacheHashConfiguration.php
typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
typo3/sysext/frontend/Classes/Resource/FileCollector.php
typo3/sysext/frontend/Classes/Typolink/FileOrFolderLinkBuilder.php
typo3/sysext/frontend/Classes/Typolink/LegacyLinkBuilder.php
typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/frontend/Tests/Unit/Middleware/SiteResolverTest.php