mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
remove in PHP 8.4 deprecated (and since 7.x no longer used) constant E_STRICT, filling up the logs ...
This commit is contained in:
parent
fedec1fa9e
commit
ce48c55d75
@ -20,11 +20,7 @@ use EGroupware\Api\Session;
|
||||
use EGroupware\Api\Egw;
|
||||
use EGroupware\Api;
|
||||
|
||||
// E_STRICT in PHP 5.4 gives various strict warnings in working code, which can NOT be easy fixed in all use-cases :-(
|
||||
// Only variables should be assigned by reference, eg. soetemplate::tree_walk()
|
||||
// Declaration of <extended method> should be compatible with <parent method>, various places where method parameters change
|
||||
// --> switching it off for now, as it makes error-log unusable
|
||||
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
|
||||
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
|
||||
|
||||
$egw_min_php_version = '8.0';
|
||||
if (!function_exists('version_compare') || version_compare(PHP_VERSION,$egw_min_php_version) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user