[TASK] Replace withConsecutive() calls in ext:backend tests
This change replaces all `withConsecutive()` calls in tests by using a callback function to check for consecutive arguments and return values. (`withConsecutive()` is deprecated in PHPUnit 9.6 and removed from PHPUnit 10.) Resolves: #100182 Releases: main Signed-off-by:Torben Hansen <derhansen@gmail.com> Change-Id: I88c63124fa2b9dc5d1b364058c673362874f0411 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78138 Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/backend/Tests/Unit/Form/Container/PaletteAndSingleContainerTest.php 23 additions, 5 deletions...sts/Unit/Form/Container/PaletteAndSingleContainerTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataCompilerTest.php 3 additions, 3 deletions...3/sysext/backend/Tests/Unit/Form/FormDataCompilerTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseLanguageRowsTest.php 28 additions, 6 deletions...s/Unit/Form/FormDataProvider/DatabaseLanguageRowsTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php 19 additions, 8 deletions.../Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUserPermissionCheckTest.php 16 additions, 7 deletions...Form/FormDataProvider/DatabaseUserPermissionCheckTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaCheckboxItemsTest.php 8 additions, 1 deletion...Tests/Unit/Form/FormDataProvider/TcaCheckboxItemsTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRadioItemsTest.php 10 additions, 3 deletions...nd/Tests/Unit/Form/FormDataProvider/TcaRadioItemsTest.php
- typo3/sysext/backend/Tests/Unit/Form/NodeExpansion/FieldControlTest.php 10 additions, 2 deletions...ackend/Tests/Unit/Form/NodeExpansion/FieldControlTest.php
Please register or sign in to comment