浏览代码

[HttpKernel] Added DEPRECATED errors

William DURAND 13 年之前
父节点
当前提交
c89f3d3b88
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php

+ 2 - 0
src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php

@@ -26,6 +26,8 @@ class ErrorHandler
         E_USER_NOTICE       => 'User Notice',
         E_STRICT            => 'Runtime Notice',
         E_RECOVERABLE_ERROR => 'Catchable Fatal Error',
+        E_DEPRECATED        => 'Deprecated',
+        E_USER_DEPRECATED   => 'User Deprecated',
     );
 
     private $level;