[TASK] Static data providers in Tests/Functional
phpunit ^10 expects test data providers to be static. Using rector rule StaticDataProviderClassMethodRector, this bulk change adapts most of them in typo3/sysext/*/Tests/Functional. A couple of data providers use $this, those are left out for now and need to be adapted with dedicated patches since they need more refactoring. Resolves: #100325 Related: #100264 Related: #100249 Releases: main Change-Id: I0ad91f00e04b0a658976a584c697bf0465c094ed Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78281 Tested-by:Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/backend/Tests/Functional/Backend/Shortcut/ShortcutRepositoryTest.php 1 addition, 1 deletion...ts/Functional/Backend/Shortcut/ShortcutRepositoryTest.php
- typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php 1 addition, 1 deletion...sext/backend/Tests/Functional/Clipboard/ClipboardTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php 2 additions, 2 deletions...end/Tests/Functional/Controller/MfaAjaxControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php 3 additions, 3 deletions.../Functional/Controller/MfaConfigurationControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php 1 addition, 1 deletion...d/Tests/Functional/Controller/Page/TreeControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/ShortcutControllerTest.php 1 addition, 1 deletion...nd/Tests/Functional/Controller/ShortcutControllerTest.php
- typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php 3 additions, 3 deletions...in/Repository/Localization/LocalizationRepositoryTest.php
- typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaCategoryTest.php 1 addition, 1 deletion...ests/Functional/Form/FormDataProvider/TcaCategoryTest.php
- typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectItemsTest.php 2 additions, 2 deletions...s/Functional/Form/FormDataProvider/TcaSelectItemsTest.php
- typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectTreeItemsTest.php 1 addition, 1 deletion...nctional/Form/FormDataProvider/TcaSelectTreeItemsTest.php
- typo3/sysext/backend/Tests/Functional/History/RecordHistoryTest.php 1 addition, 1 deletion...xt/backend/Tests/Functional/History/RecordHistoryTest.php
- typo3/sysext/backend/Tests/Functional/Module/ModuleDataTest.php 2 additions, 2 deletions...sysext/backend/Tests/Functional/Module/ModuleDataTest.php
- typo3/sysext/backend/Tests/Functional/Template/Components/Buttons/Action/ShortcutButtonTest.php 1 addition, 1 deletion...Template/Components/Buttons/Action/ShortcutButtonTest.php
- typo3/sysext/backend/Tests/Functional/Tree/Repository/PageTreeRepositoryTest.php 2 additions, 2 deletions...sts/Functional/Tree/Repository/PageTreeRepositoryTest.php
- typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php 1 addition, 1 deletion...t/backend/Tests/Functional/Utility/BackendUtilityTest.php
- typo3/sysext/core/Tests/Functional/Authentication/BackendUserAuthenticationTest.php 2 additions, 2 deletions...nctional/Authentication/BackendUserAuthenticationTest.php
- typo3/sysext/core/Tests/Functional/Authentication/GroupResolverTest.php 1 addition, 1 deletion...ore/Tests/Functional/Authentication/GroupResolverTest.php
- typo3/sysext/core/Tests/Functional/Cache/Backend/ApcuBackendTest.php 1 addition, 1 deletion...t/core/Tests/Functional/Cache/Backend/ApcuBackendTest.php
- typo3/sysext/core/Tests/Functional/Cache/Backend/FileBackendTest.php 1 addition, 1 deletion...t/core/Tests/Functional/Cache/Backend/FileBackendTest.php
- typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php 1 addition, 1 deletion.../Tests/Functional/Cache/Frontend/VariableFrontendTest.php
Please register or sign in to comment