Skip to content
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

Run tests against PHP 7.2, too #1198

Merged
merged 4 commits into from Feb 12, 2018
Merged

Run tests against PHP 7.2, too #1198

merged 4 commits into from Feb 12, 2018

Conversation

wiese
Copy link
Contributor

@wiese wiese commented Feb 7, 2018

Replaces #1193

Depends on

Please verify that 86cfc84 does make sense for you, too. I think it silently did what it could before, now rightfully got a voice after all - should have been outside the if all along [1].

Maybe worth pointing out that this is not to say that the application is now entirely 7.2-ready. There was no UAT.

[1] https://silex.symfony.com/doc/2.0/testing.html#webtestcase

If multiple e2e tests are run without process isolation there would be repeated
real session starts - this was problematic but silent before, PHP 7.2 added an
error to indicated it (https://bugs.php.net/bug.php?id=75227).

https://stackoverflow.com/a/29563414 does a good job explaining the options
used in silex' SessionServiceProvider.
@wiese wiese changed the title [DNM] Run against PHP 7.2, too Run tests against PHP 7.2, too Feb 9, 2018
Copy link
Member

@gbirke gbirke left a comment

Choose a reason for hiding this comment

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

After looking at the provided links, I agree that it makes sense to set session.test

@wiese wiese merged commit 59b5b45 into master Feb 12, 2018
@wiese wiese deleted the php72 branch February 12, 2018 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants