[TASK] Move arguments to initializeArguments() in CheckboxVH in ext:fluid 06/48906/13
authorRoberto Torresani <erreti@gmail.com>
Mon, 11 Jul 2016 15:12:02 +0000 (17:12 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 13 Jul 2016 08:05:27 +0000 (10:05 +0200)
commit5a7a2d5e363ba75632ca37ecc58f3b3bbd6f229b
treee66e2021853afb9c4a2ef9bb77f0042032f4631e
parent08e84de426768c90d14833a9f566c298f50f5218
[TASK] Move arguments to initializeArguments() in CheckboxVH in ext:fluid

Move the argument registrations away from the render() method
to initializeArguments(), to prevent any errors with PHP7 and
subclassed ViewHelpers if/when render() method signatures change

Change the UnitTest form CheckboxViewHelperTest with setArguments()
Introduce the function setArgumentsUnderTest()

Resolves: #77036
Releases: master
Change-Id: I3ac10345f54aab2f6414737ccc044dd01975f80d
Reviewed-on: https://review.typo3.org/48906
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/BaseViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormFieldViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/CheckboxViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/Fixtures/ClassWithTwoGetters.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/UploadViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/PageViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ViewHelperBaseTestcase.php