trigger_deprecation('symfony/http-foundation','5.1','Passing a non-scalar value as 2nd argument to "%s()" is deprecated, pass a scalar or null instead.',__METHOD__);
trigger_deprecation('symfony/http-foundation','5.1','Retrieving a non-scalar value from "%s()" is deprecated, and will throw a "%s" exception in Symfony 6.0, use "%s::all($key)" instead.',__METHOD__,BadRequestException::class,__CLASS__);
trigger_deprecation('symfony/http-foundation','5.1','Passing "%s" as a 2nd Argument to "%s()" is deprecated, pass a scalar, array, or null instead.',get_debug_type($value),__METHOD__);
trigger_deprecation('symfony/http-foundation','5.1','Filtering an array value with "%s()" without passing the FILTER_REQUIRE_ARRAY or FILTER_FORCE_ARRAY flag is deprecated',__METHOD__);
trigger_deprecation('symfony/http-foundation','5.2','Not passing a Closure together with FILTER_CALLBACK to "%s()" is deprecated. Wrap your filter in a closure instead.',__METHOD__);
// throw new \InvalidArgumentException(sprintf('A Closure must be passed to "%s()" when FILTER_CALLBACK is used, "%s" given.', __METHOD__, get_debug_type($options['options'] ?? null)));