Procházet zdrojové kódy

merged branch willdurand/deprecated-error-handler (PR #4096)

Commits
-------

c89f3d3 [HttpKernel] Added DEPRECATED errors

Discussion
----------

Deprecated error handler
Fabien Potencier před 13 roky
rodič
revize
f6f4ba941b

+ 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;