Skip to content

Commit b292d59

Browse files
Merge branch '4.0'
* 4.0: fix merge
2 parents e81aa76 + c422bac commit b292d59

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
@@ -214,13 +214,13 @@ public static function register($mode = 0)
214214
return $b['count'] - $a['count'];
215215
};
216216

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) {
220219
$groups[] = 'remaining vendor';
221-
}
222-
array_push($groups, 'legacy', 'other');
220+
}
221+
array_push($groups, 'legacy', 'other');
223222

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

0 commit comments

Comments
 (0)