[TASK] Move arguments to initializeArguments() in Nl2brVH in ext:fluid 28/48928/3
authorRoberto Torresani <erreti@gmail.com>
Tue, 12 Jul 2016 10:59:33 +0000 (12:59 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Tue, 19 Jul 2016 07:23:14 +0000 (09:23 +0200)
commit7388438f387d1a480cfd760dfe9f0918a9c15b17
treed582275f85343929fa0865a13a6ded834c7d37ae
parent62abccd89b2aa7249ff2beb39b9e22989615a075
[TASK] Move arguments to initializeArguments() in Nl2brVH 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 Nl2brViewHelperTest with setArguments()

Resolves: #77064
Releases: master
Change-Id: I5bcf8ca97d39ce5ccbb1602bde80f48bafde3d32
Reviewed-on: https://review.typo3.org/48928
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/Format/Nl2brViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/Nl2brViewHelperTest.php