8000 bug #17059 [HttpFoundation] fix error level for deprecation (xabbuh) · symfony/symfony@2172054 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2172054

Browse files
committed
bug #17059 [HttpFoundation] fix error level for deprecation (xabbuh)
This PR was merged into the 2.8 branch. Discussion ---------- [HttpFoundation] fix error level for deprecation | Q | A | ------------- | --- | Fixed tickets | #17058 | License | MIT Commits ------- 4929634 fix error level for deprecation
2 parents 3a57b77 + 4929634 commit 2172054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/ParameterBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public function filter($key, $default = null, $filter = FILTER_DEFAULT, $options
268268
}
269269
}
270270
if (is_bool($filter) || !isset($filters[$filter]) || is_array($deep)) {
271-
@trigger_error('Passing the $deep boolean as 3rd argument to the '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Remove it altogether as the $deep argument will be removed in 3.0.', E_USER_ERROR);
271+
@trigger_error('Passing the $deep boolean as 3rd argument to the '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Remove it altogether as the $deep argument will be removed in 3.0.', E_USER_DEPRECATED);
272272
$tmp = $deep;
273273
$deep = $filter;
274274
$filter = $options;

0 commit comments

Comments
 (0)
0