Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c8c27e5

Browse files
fix merge
1 parent 8ed107d commit c8c27e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ public static function register($mode = 0)
215215
return $b['count'] - $a['count'];
216216
};
217217

218-
$displayDeprecations = function ($deprecations) use ($colorize, $cmp) {
219-
$groups = array('unsilenced', 'remaining');
220-
if (DeprecationErrorHandler::MODE_WEAK_VENDORS === $mode) {
218+
$groups = array('unsilenced', 'remaining');
219+
if (DeprecationErrorHandler::MODE_WEAK_VENDORS === $mode) {
221220
$groups[] = 'remaining vendor';
222-
}
223-
array_push($groups, 'legacy', 'other');
221+
}
222+
array_push($groups, 'legacy', 'other');
224223

224+
$displayDeprecations = function ($deprecations) use ($colorize, $cmp, $groups) {
225225
foreach ($groups as $group) {
226226
if ($deprecations[$group.'Count']) {
227227
echo "\n", $colorize(

0 commit comments

Comments
 (0)