mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 21:48:45 +02:00
N°8834 - Add compatibility with PHP 8.4 (#819)
* N°8834 - Add compatibility with PHP 8.4 * Rollback of scssphp/scssphp version upgrade due to compilation error
This commit is contained in:
@@ -20,7 +20,7 @@ class Debug
|
||||
{
|
||||
public static function enable(): ErrorHandler
|
||||
{
|
||||
error_reporting(-1);
|
||||
error_reporting(\E_ALL & ~\E_DEPRECATED & ~\E_USER_DEPRECATED);
|
||||
|
||||
if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
|
||||
ini_set('display_errors', 0);
|
||||
|
||||
Reference in New Issue
Block a user