[TASK] Move arguments to initializeArguments() FlashMessagesVH ext:fluid 70/48870/7
authorRoberto Torresani <erreti@gmail.com>
Sun, 10 Jul 2016 11:04:44 +0000 (13:04 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Tue, 19 Jul 2016 05:30:43 +0000 (07:30 +0200)
commit1b96ae053c6b76eb62b58f0b5b7624b98a721dd5
treee360058cb9a9dcd6cf0596d1700209025ad3a4b0
parentbea6460d2ac5fd4811a31fad0ba4a64810e0556e
[TASK] Move arguments to initializeArguments() FlashMessagesVH 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.

Resolves: #77004
Releases: master
Change-Id: I629d19209276a8162e45db1f923cd2280240df5d
Reviewed-on: https://review.typo3.org/48870
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-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/FlashMessagesViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/FlashMessagesViewHelperTest.php