[TASK] Move arguments to initializeArguments() in PageVH in ext:fluid 01/48901/5
authorRoberto Torresani <erreti@gmail.com>
Mon, 11 Jul 2016 14:15:42 +0000 (16:15 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 21 Jul 2016 05:20:54 +0000 (07:20 +0200)
commit8b6317a37b2934f4677cfb943c546624443d81e0
treee593013bd5de0483b52234d016ff98566a7fe716
parentc0620b3c85cc5a6b91bb996cfefff09b058a211b
[TASK] Move arguments to initializeArguments() in PageVH 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 PageViewHelperTest with setArguments()
Introduce the function setArgumentsUnderTest()

Resolves: #77015
Releases: master
Change-Id: Ib21caa968d3a1d382885bef5b209d7f81c982f88
Reviewed-on: https://review.typo3.org/48901
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/fluid/Classes/ViewHelpers/Uri/PageViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/PageViewHelperTest.php