summaryrefslogtreecommitdiff
path: root/src/Debug.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Debug.php')
-rw-r--r--src/Debug.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Debug.php b/src/Debug.php
index ab1a8877..732423f9 100644
--- a/src/Debug.php
+++ b/src/Debug.php
@@ -198,7 +198,7 @@ class Debug extends Data
$debObj->security_policy = null;
$debObj->debugging = false;
$debObj->debugging_ctrl = 'NONE';
- $debObj->error_reporting = E_ALL & ~E_NOTICE;
+ $debObj->error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE;
$debObj->debug_tpl = $smarty->debug_tpl ?? 'file:' . __DIR__ . '/debug.tpl';
$debObj->registered_resources = array();
$debObj->escape_html = true;