Review TYPO3_7-6 Merged

54915[BUGFIX] Use of undefined constant E_DEBUG

Christian Kuhn CR +2 V +2 Easy +1 −1 updated 12/03/17, 14:35

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 1