File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Symfony/Bridge/PhpUnit Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -214,13 +214,13 @@ public static function register($mode = 0)
214
214
return $ b ['count ' ] - $ a ['count ' ];
215
215
};
216
216
217
- $ displayDeprecations = function ($ deprecations ) use ($ colorize , $ cmp ) {
218
- $ groups = array ('unsilenced ' , 'remaining ' );
219
- if (DeprecationErrorHandler::MODE_WEAK_VENDORS === $ mode ) {
217
+ $ groups = array ('unsilenced ' , 'remaining ' );
218
+ if (DeprecationErrorHandler::MODE_WEAK_VENDORS === $ mode ) {
220
219
$ groups [] = 'remaining vendor ' ;
221
- }
222
- array_push ($ groups , 'legacy ' , 'other ' );
220
+ }
221
+ array_push ($ groups , 'legacy ' , 'other ' );
223
222
223
+ $ displayDeprecations = function ($ deprecations ) use ($ colorize , $ cmp , $ groups ) {
224
224
foreach ($ groups as $ group ) {
225
225
if ($ deprecations [$ group .'Count ' ]) {
226
226
echo "\n" , $ colorize (
You can’t perform that action at this time.
0 commit comments