[BUGFIX] Use proper annotations to avoid type errors
This is mainly related to test files, where the phpdoc annotations of the affected test classes have been removed, as we now use proper native types, where no additional PHPDoc comment describing the parameters are set. In addition, some further cleanups related to types that have already been properly defined are set. Resolves: #98987 Releases: main Change-Id: I8e82540e9f425799ebb851e66d4149202f81ecfa Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76398 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/phpstan/phpstan-baseline.neon 13 additions, 68 deletionsBuild/phpstan/phpstan-baseline.neon
- typo3/sysext/core/Tests/Unit/Localization/LocalesTest.php 1 addition, 10 deletionstypo3/sysext/core/Tests/Unit/Localization/LocalesTest.php
- typo3/sysext/core/Tests/Unit/Mail/MailMessageTest.php 11 additions, 54 deletionstypo3/sysext/core/Tests/Unit/Mail/MailMessageTest.php
- typo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php 1 addition, 28 deletionstypo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php
- typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php 0 additions, 37 deletions...ore/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php
- typo3/sysext/frontend/Classes/ContentObject/Menu/MenuContentObjectFactory.php 4 additions, 11 deletions...d/Classes/ContentObject/Menu/MenuContentObjectFactory.php
- typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php 2 additions, 2 deletionstypo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 25 additions, 56 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php 1 addition, 28 deletions...Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php 0 additions, 22 deletions.../Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php
- typo3/sysext/frontend/Tests/Unit/Middleware/SiteBaseRedirectResolverTest.php 1 addition, 1 deletion...nd/Tests/Unit/Middleware/SiteBaseRedirectResolverTest.php
- typo3/sysext/frontend/Tests/Unit/Middleware/SiteResolverTest.php 1 addition, 1 deletion...ysext/frontend/Tests/Unit/Middleware/SiteResolverTest.php
- typo3/sysext/install/Classes/Service/EnableFileService.php 1 addition, 1 deletiontypo3/sysext/install/Classes/Service/EnableFileService.php
- typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php 1 addition, 1 deletiontypo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
- typo3/sysext/workspaces/Classes/Service/GridDataService.php 1 addition, 1 deletiontypo3/sysext/workspaces/Classes/Service/GridDataService.php
Please register or sign in to comment