We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddb32a5 commit 29fa7b8Copy full SHA for 29fa7b8
DeprecationErrorHandler.php
@@ -49,7 +49,7 @@ public static function register($mode = false)
49
'legacy' => array(),
50
'other' => array(),
51
);
52
- $deprecationHandler = function ($type, $msg, $file, $line, $context) use (&$deprecations, $getMode) {
+ $deprecationHandler = function ($type, $msg, $file, $line, $context = array()) use (&$deprecations, $getMode) {
53
if (E_USER_DEPRECATED !== $type) {
54
return \PHPUnit_Util_ErrorHandler::handleError($type, $msg, $file, $line, $context);
55
}
0 commit comments