[BUGFIX] IfViewHelpers use method signature from parent 15/42115/6
authorBenjamin Mack <benni@typo3.org>
Wed, 29 Jul 2015 18:48:33 +0000 (20:48 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Fri, 7 Aug 2015 12:22:12 +0000 (14:22 +0200)
commit754b245516253f15ee3184524a0568e77bbea686
tree808550e9ece7814b2841cc025f74166c02be3e88
parenta4b58f2e4940f0c2ff7aeef3cdd0f1ed98b6c938
[BUGFIX] IfViewHelpers use method signature from parent

In order to become PHP7 compliant, the IfViewHelpers should
register their arguments via the registerArgument() method
instead of extending the render() method with additional
parameters. This is not allowed in PHP7 and is therefore
changed in order to be compatible with PHP7.

Releases: master
Resolves: #68634
Change-Id: Ia3fa86541d5e112813da3c1d32edfe6180f6f621
Reviewed-on: http://review.typo3.org/42115
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/fluid/Classes/ViewHelpers/Be/Security/IfHasRoleViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/IfViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Security/IfHasRoleViewHelper.php