[BUGFIX] Use of undefined constant E_DEBUG 13/54913/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 3 Dec 2017 14:05:53 +0000 (15:05 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 3 Dec 2017 14:34:23 +0000 (15:34 +0100)
commitf2bb18d2cac5e5dbfac839a41b73f4e13532adbb
tree0a9d6e87ce6024332d5ecca169b9e5b31eb94a84
parentc934f5a764c0992a06491b26991bfd73c3e8cb93
[BUGFIX] Use of undefined constant E_DEBUG

Global function debug() initializes its 6th argument
to constant E_DEBUG which does not exist and then defaults
to string 'E_DEBUG'. This raises a PHP 7.2 warning.
Relevant for v8 & v7 only, this argument has been removed
in master already.
Fix by defaulting to string 'E_DEBUG' in method signature.

Change-Id: If04c9e55bb810980b19b924496680ea1758e4b24
Resolves: #83200
Related: #82640
Releases: 8.7, 7.6
Reviewed-on: https://review.typo3.org/54913
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Resources/PHP/GlobalDebugFunctions.php