Skip to content

Commit 80e2557

Browse files
Merge branch '5.4' into 6.2
* 5.4: 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 94e3bc5 + 0c29a60 commit 80e2557

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
@@ -1899,7 +1899,7 @@ private function disableHttpMethodParameterOverride()
18991899
{
19001900
$class = new \ReflectionClass(Request::class);
19011901
$property = $class->getProperty('httpMethodParameterOverride');
1902-
$property->setValue(false);
1902+
$property->setValue(null, false);
19031903
}
19041904

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

0 commit comments

Comments
 (0)