Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit47935ac

Browse files
committed
respect optional error handler arguments
1 parent628ec81 commit47935ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static function register($mode = false)
4949
'legacy' =>array(),
5050
'other' =>array(),
5151
);
52-
$deprecationHandler =function ($type,$msg,$file,$line,$context)use (&$deprecations,$getMode) {
52+
$deprecationHandler =function ($type,$msg,$file =null,$line =null,$context =array())use (&$deprecations,$getMode) {
5353
if (E_USER_DEPRECATED !==$type) {
5454
return \PHPUnit_Util_ErrorHandler::handleError($type,$msg,$file,$line,$context);
5555
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp