[BUGFIX] Use of undefined constant E_DEBUG 15/54915/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 3 Dec 2017 14:05:53 +0000 (15:05 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 3 Dec 2017 14:35:37 +0000 (15:35 +0100)
commitdf7ed4032ec527b2212e5259946282b8e141a7b6
tree7dba4626e3c5207d31c1f157f054a4714c7ea520
parent92b586c6c1c425013ebb01fc3de513fb458d2bb2
[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/54915
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Resources/PHP/GlobalDebugFunctions.php