Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpFoundation] Skip the cookie_max_age fixture on PHP 8 #38168

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
Sep 13, 2020

Conversation

derrabus
Copy link
Member

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #36872
License MIT
Doc PR N/A

This PR suggest to skip a certain integration test on php 8. The integration test in question triggers a warning by setting a way too high expiration date when calling setcookie(). Apparently, this warning has been upgraded to a fatal error on php 8.

Since the integration test is run in a separate process, we might as well adjust the expectation of that test case, but I don't really see the point in asserting fatal error behavior, to be honest.

@derrabus derrabus changed the title [HttpFoundation] Skip the cookie_max_age fixture on PHP 8. [HttpFoundation] Skip the cookie_max_age fixture on PHP 8 Sep 12, 2020
@derrabus
Copy link
Member Author

😍😍😍
Bildschirmfoto 2020-09-12 um 23 13 49

@fabpot
Copy link
Member

fabpot commented Sep 13, 2020

Thank you @derrabus.

@fabpot fabpot merged commit 3825542 into symfony:3.4 Sep 13, 2020
@derrabus derrabus deleted the bugfix/skip-cookie-max-age branch September 13, 2020 05:04
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.

3 participants