[TASK] Move render arguments StripTagsViewHelper 98/48898/4
authorivaylo.ivanov <ivaylo.ivanov@dkd.de>
Mon, 11 Jul 2016 13:21:46 +0000 (15:21 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 12 Jul 2016 12:44:35 +0000 (14:44 +0200)
commit08d691ea71e2485d0bad626b45043c750b441353
treec6a6367e226a50e6b628d156b488b88159e3779f
parentd1bace0669fe81586b849e20468a3d9b007beedf
[TASK] Move render arguments StripTagsViewHelper

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.

Resolves: #77008
Releases: master
Change-Id: Ia77204e3987e8013bb2e5ba11a40eb4c1c56e62f
Reviewed-on: https://review.typo3.org/48898
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/fluid/Classes/ViewHelpers/Format/StripTagsViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/StripTagsViewHelperTest.php