Skip to content

Commit bc35a39

Browse files
minor #61465 [HttpFoundation] fix session cookie options assertions on PHP 8.5 (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [HttpFoundation] fix session cookie options assertions on PHP 8.5 | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT see php/php-src#12652 Commits ------- 3c7a8ac fix session cookie options assertions on PHP 8.5
2 parents 4ce4ff3 + 3c7a8ac commit bc35a39

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ public function testCookieOptions()
192192
'cookie_samesite' => 'lax',
193193
];
194194

195+
if (\PHP_VERSION_ID >= 80500) {
196+
$options['cookie_partitioned'] = false;
197+
}
198+
195199
$this->getStorage($options);
196200
$temp = session_get_cookie_params();
197201
$gco = [];

0 commit comments

Comments
 (0)