[BUGFIX] Handle variadic arguments in Extbase DebuggerUtility 37/54637/2
authorMathias Brodala <mbrodala@pagemachine.de>
Thu, 9 Nov 2017 08:42:04 +0000 (09:42 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Tue, 14 Nov 2017 14:09:41 +0000 (15:09 +0100)
commitb7d0353f2e0eba14a8ad7d927bb0815117afe372
tree529c1c1780e9fd4b17c1a05fe5e29321bdc7365e
parent8e10748487b594ea48d211e8c1eecdf4d028343a
[BUGFIX] Handle variadic arguments in Extbase DebuggerUtility

Variadic arguments are optional but do not have a default value, thus
properly check this.

Also render the variadic operator ("...") in the output.

Resolves: #82956
Releases: master, 8.7
Change-Id: I10e3528d9cffcdd03ae4711b139898f569ac3775
Reviewed-on: https://review.typo3.org/54637
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php
typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php