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

Commitfdb1639

Browse files
bug#22817 [PhpUnitBridge] optional error handler arguments (xabbuh)
This PR was merged into the 2.7 branch.Discussion----------[PhpUnitBridge] optional error handler arguments| Q | A| ------------- | ---| Branch? | 2.7| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |https://travis-ci.org/symfony/symfony/jobs/234483755#L2460| License | MIT| Doc PR |Commits-------f7d1a06 respect optional error handler arguments
2 parents628ec81 +f7d1a06 commitfdb1639

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,$line,$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