Remove deprecated in PHP 8.4 the \E_STRICT usage
2 unresolved threads
2 unresolved threads
Closes #3465826
Merge request reports
Activity
34 34 E_USER_ERROR => ['User error', RfcLogLevel::ERROR], 35 35 E_USER_WARNING => ['User warning', RfcLogLevel::WARNING], 36 36 E_USER_NOTICE => ['User notice', RfcLogLevel::NOTICE], 37 E_STRICT => ['Strict warning', RfcLogLevel::DEBUG], 38 37 E_RECOVERABLE_ERROR => ['Recoverable fatal error', RfcLogLevel::ERROR], 39 38 E_DEPRECATED => ['Deprecated function', RfcLogLevel::DEBUG], 40 39 E_USER_DEPRECATED => ['User deprecated function', RfcLogLevel::DEBUG], 41 40 ]; Thought of adding
E_STRICT
based on the PHP version. But theE_STRICT
already merged withE_ALL
on PHP 5.4+. Anyway, Drupal 11.x version will not support lower than PHP 5.4. Do we really need to add this check?
added 151 commits
-
e3ff202e...68589170 - 150 commits from branch
project:11.x
- 3b82df31 - Remove deprecated in PHP 8.4 the \E_STRICT usage
-
e3ff202e...68589170 - 150 commits from branch
983 983 $app_root = static::guessApplicationRoot(); 984 984 } 985 985 986 // Enforce E_STRICT, but allow users to set levels not part of E_STRICT. 987 error_reporting(E_STRICT | E_ALL); 986 // E_STRICT is part of E_ALL on PHP 5.4+, So allow user to set E_ALL. changed this line in version 3 of the diff
Please register or sign in to reply