Skip to content

[HttpFoundation] fix session cookie options assertions on PHP 8.5 #61465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2025

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Aug 20, 2025

Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT

see php/php-src#12652

@@ -192,6 +192,10 @@ public function testCookieOptions()
'cookie_samesite' => 'lax',
];

if (\PHP_VERSION_ID >= 80500) {
$options['cookie_partioned'] = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$options['cookie_partioned'] = false;
$options['cookie_partitioned'] = false;

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, good catch

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit bc35a39 into symfony:6.4 Aug 20, 2025
9 of 11 checks passed
@xabbuh xabbuh deleted the php-CHIPS branch August 20, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants