File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Bridge/PhpUnit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public static function register($mode = false)
81
81
82
82
exit (1 );
83
83
}
84
- if ('legacy ' !== $ group && self ::MODE_WEAK !== $ mode ) {
84
+ if ('legacy ' !== $ group && DeprecationErrorHandler ::MODE_WEAK !== $ mode ) {
85
85
$ ref = &$ deprecations [$ group ][$ msg ]['count ' ];
86
86
++$ ref ;
87
87
$ ref = &$ deprecations [$ group ][$ msg ][$ class .':: ' .$ method ];
@@ -147,7 +147,7 @@ public static function register($mode = false)
147
147
if (!empty ($ notices )) {
148
148
echo "\n" ;
149
149
}
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 ' ])) {
151
151
exit (1 );
152
152
}
153
153
});
You can’t perform that action at this time.
0 commit comments