Ver Fonte

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

Commits
-------

c89f3d3 [HttpKernel] Added DEPRECATED errors

Discussion
----------

Deprecated error handler
Fabien Potencier há 13 anos atrás
pai
commit
f6f4ba941b
1 ficheiros alterados com 2 adições e 0 exclusões
  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;