From 2dddc982a79086907a7376e973aeb3b655b0612d Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 3 Jul 2016 17:27:59 +0900 Subject: [PATCH] Treat user warnings as same as PHP warnings --- common/framework/debug.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/framework/debug.php b/common/framework/debug.php index bb980ae58..ee366ff3c 100644 --- a/common/framework/debug.php +++ b/common/framework/debug.php @@ -626,8 +626,8 @@ class Debug case \E_COMPILE_ERROR: return 'Compile-time Error'; case \E_COMPILE_WARNING: return 'Compile-time Warning'; case \E_USER_ERROR: return 'User Error'; - case \E_USER_WARNING: return 'User Warning'; - case \E_USER_NOTICE: return 'User Notice'; + case \E_USER_WARNING: return 'Warning'; + case \E_USER_NOTICE: return 'Notice'; case \E_STRICT: return 'Strict Standards'; case \E_PARSE: return 'Parse Error'; case \E_DEPRECATED: return 'Deprecated';