[TASK] Update invalid test data providers
Phpunit 11 is a bit more picky with data providers: If single data sets "name" their arguments, they must match to the consuming test argument names, or a PHP warning is raised. The patch adapts data providers or test method arguments to deal with this. Change-Id: Ic09a1621a5921239f2abdb9de58f7135af6240d9 Resolves: #103222 Releases: main Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83155 Tested-by:Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/adminpanel/Tests/Unit/Utility/StateUtilityTest.php 10 additions, 6 deletions...sysext/adminpanel/Tests/Unit/Utility/StateUtilityTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaCheckboxItemsTest.php 2 additions, 2 deletions...Tests/Unit/Form/FormDataProvider/TcaCheckboxItemsTest.php
- typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php 3 additions, 20 deletions.../sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
- typo3/sysext/core/Tests/Functional/Command/CliCommandTest.php 24 additions, 24 deletions...3/sysext/core/Tests/Functional/Command/CliCommandTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/MinValueTest.php 3 additions, 3 deletions...re/Tests/Functional/DataHandling/Regular/MinValueTest.php
- typo3/sysext/core/Tests/Functional/Imaging/IconFactoryTest.php 31 additions, 19 deletions.../sysext/core/Tests/Functional/Imaging/IconFactoryTest.php
- typo3/sysext/core/Tests/Functional/Resource/Driver/LocalDriverTest.php 3 additions, 3 deletions...core/Tests/Functional/Resource/Driver/LocalDriverTest.php
- typo3/sysext/core/Tests/Functional/Resource/StorageRepositoryTest.php 30 additions, 30 deletions.../core/Tests/Functional/Resource/StorageRepositoryTest.php
- typo3/sysext/core/Tests/Unit/Configuration/Tca/TcaMigrationTest.php 7 additions, 7 deletions...xt/core/Tests/Unit/Configuration/Tca/TcaMigrationTest.php
- typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php 3 additions, 3 deletions...3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php
- typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/EmailSoftReferenceParserTest.php 13 additions, 13 deletions...taHandling/SoftReference/EmailSoftReferenceParserTest.php
- typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/ExtensionPathSoftReferenceParserTest.php 9 additions, 9 deletions...ng/SoftReference/ExtensionPathSoftReferenceParserTest.php
- typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkTagSoftReferenceParserTest.php 16 additions, 16 deletions...ling/SoftReference/TypoLinkTagSoftReferenceParserTest.php
- typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/UrlSoftReferenceParserTest.php 20 additions, 20 deletions...DataHandling/SoftReference/UrlSoftReferenceParserTest.php
- typo3/sysext/core/Tests/Unit/Localization/Parser/XliffParserTest.php 15 additions, 15 deletions...t/core/Tests/Unit/Localization/Parser/XliffParserTest.php
- typo3/sysext/core/Tests/Unit/Session/UserSessionManagerTest.php 3 additions, 3 deletions...sysext/core/Tests/Unit/Session/UserSessionManagerTest.php
- typo3/sysext/extbase/Tests/Functional/Configuration/FrontendConfigurationManagerTest.php 5 additions, 5 deletions...tional/Configuration/FrontendConfigurationManagerTest.php
- typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php 4 additions, 17 deletions...ctional/Mvc/Controller/ControllerArgumentsMappingTest.php
- typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php 16 additions, 16 deletions...e/Tests/Functional/Persistence/QueryLocalizedDataTest.php
- typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php 3 additions, 3 deletions...ests/Functional/Persistence/TranslatedSiteContentTest.php
Please register or sign in to comment