[TASK] Move arguments to initializeArguments() in CurrencyVH in ext:fluid 20/48920/7
authorRoberto Torresani <erreti@gmail.com>
Tue, 12 Jul 2016 09:39:37 +0000 (11:39 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 19 Jul 2016 17:30:48 +0000 (19:30 +0200)
commit5b8d0803d771260edcfc9929d1634ce713968807
tree26c775f028bcc4f187c9b591378b4cb12fc4a64a
parent595c98102b86688e12112b6a46a46da7aecdbcbf
[TASK] Move arguments to initializeArguments() in CurrencyVH 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 CurrencyViewHelperTest with setArguments()

Resolves: #77056
Releases: master
Change-Id: Ia754cc36d071d3108548927dad164d684eae782c
Reviewed-on: https://review.typo3.org/48920
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/fluid/Classes/ViewHelpers/Format/CurrencyViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/CurrencyViewHelperTest.php