浏览代码

Force base error reporting level to include everything

Jordi Boggiano 9 年之前
父节点
当前提交
618e7f98b2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Composer/Util/ErrorHandler.php

+ 1 - 0
src/Composer/Util/ErrorHandler.php

@@ -73,6 +73,7 @@ class ErrorHandler
     public static function register(IOInterface $io = null)
     {
         set_error_handler(array(__CLASS__, 'handle'));
+        error_reporting(E_ALL | E_STRICT);
         self::$io = $io;
     }
 }