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

Appearance settings

Commit a4aafca

Browse filesBrowse files
Fix DeprecationErrorHandler on PHP 5.3
1 parent 27ba4b2 commit a4aafca
Copy full SHA for a4aafca

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static function register($mode = false)
8181

8282
exit(1);
8383
}
84-
if ('legacy' !== $group && self::MODE_WEAK !== $mode) {
84+
if ('legacy' !== $group && DeprecationErrorHandler::MODE_WEAK !== $mode) {
8585
$ref = &$deprecations[$group][$msg]['count'];
8686
++$ref;
8787
$ref = &$deprecations[$group][$msg][$class.'::'.$method];
@@ -147,7 +147,7 @@ public static function register($mode = false)
147147
if (!empty($notices)) {
148148
echo "\n";
149149
}
150-
if (self::MODE_WEAK !== $mode && self::MODE_WEAK_VERBOSE !== $mode && ($deprecations['unsilenced'] || $deprecations['remaining'] || $deprecations['other'])) {
150+
if (DeprecationErrorHandler::MODE_WEAK !== $mode && DeprecationErrorHandler::MODE_WEAK_VERBOSE !== $mode && ($deprecations['unsilenced'] || $deprecations['remaining'] || $deprecations['other'])) {
151151
exit(1);
152152
}
153153
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.