Skip to content

Commit 2b4a073

Browse files
Merge branch '6.2' into 6.3
* 6.2: Fix deprecations on PHP 8.3 [WebProfilerBundle] Fix error in case of 'Content-Type' set null in dev environment with no debug [Routing] Use vsprintf instead of sprintf + unpacking
2 parents e0ad0d1 + 80e2557 commit 2b4a073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/RequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1913,7 +1913,7 @@ private function disableHttpMethodParameterOverride()
19131913
{
19141914
$class = new \ReflectionClass(Request::class);
19151915
$property = $class->getProperty('httpMethodParameterOverride');
1916-
$property->setValue(false);
1916+
$property->setValue(null, false);
19171917
}
19181918

19191919
private function getRequestInstanceForClientIpTests(string $remoteAddr, ?string $httpForwardedFor, ?array $trustedProxies): Request

0 commit comments

Comments
 (0)