Skip to content

Commit f074e69

Browse files
mondrakenicolas-grekas
authored andcommitted
[PHPUnitBridge] Fix max threshold when only ignoreFile is set in SYMFONY_DEPRECATIONS_HELPER
1 parent 8bb5e4b commit f074e69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DeprecationErrorHandler/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public static function fromUrlEncodedString($serializedConfiguration)
310310
}
311311

312312
$normalizedConfiguration += [
313-
'max' => [],
313+
'max' => ['total' => 0],
314314
'disabled' => false,
315315
'verbose' => true,
316316
'quiet' => [],
@@ -336,7 +336,7 @@ public static function fromUrlEncodedString($serializedConfiguration)
336336
}
337337

338338
return new self(
339-
$normalizedConfiguration['max'] ?? [],
339+
$normalizedConfiguration['max'],
340340
'',
341341
$verboseOutput,
342342
$normalizedConfiguration['ignoreFile'],

0 commit comments

Comments
 (0)