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

FIX Ensure tests pass by reducing to PHPUnit 7.1.3 #8271

Merged

Conversation

robbieaverill
Copy link
Contributor

@robbieaverill robbieaverill commented Jul 18, 2018

PHPUnit 7.1.4 and higher introduces a bug with float comparisons in strings. The fix until this is resolved is to use PHPUnit 7.1.3.

Reference: sebastianbergmann/phpunit#3185

Also updates the phpunit config file to match the schema and imports a missing exception namespace.

PHPUnit 7.1.4 and higher introduces a bug with float comparisons in strings.
The fix until this is resolved is to use PHPUnit 7.1.3.

Reference: sebastianbergmann/phpunit#3185

Also updates the phpunit config file to match the schema and imports a
missing exception namespace.
robbieaverill added a commit to creative-commoners/silverstripe-installer that referenced this pull request Jul 23, 2018
…s in Travis config

See silverstripe/silverstripe-framework#8271 for info on
the specific PHPUnit version (temporary)
robbieaverill added a commit to creative-commoners/silverstripe-installer that referenced this pull request Jul 23, 2018
…s in Travis config

See silverstripe/silverstripe-framework#8271 for info on
the specific PHPUnit version (temporary)
robbieaverill added a commit to creative-commoners/silverstripe-installer that referenced this pull request Jul 23, 2018
…s in Travis config

See silverstripe/silverstripe-framework#8271 for info on
the specific PHPUnit version (temporary)
Copy link
Contributor

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

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

It's good.

The only thing I'm not sure about is that .travis is still testing against PHP 5.6 and PHP 7.0. It's not testing against PHP 7.2 at all.

@robbieaverill
Copy link
Contributor Author

@maxime-rainville are you sure? I see this for the builds on this branch:

image

Copy link
Contributor

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

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

All good. I looked directly at the travis file, but I must have been on the wrong branch.

@maxime-rainville maxime-rainville merged commit 5591c42 into silverstripe:master Jul 24, 2018
robbieaverill added a commit to creative-commoners/silverstripe-postgresql that referenced this pull request Aug 17, 2018
@robbieaverill robbieaverill deleted the pulls/5.0/test-fixes branch August 17, 2018 09:04
@dhensby
Copy link
Contributor

dhensby commented Aug 20, 2018

Gosh, that's a painful regression that you'd think they'd fix a bit more quickly. :(

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.

None yet

3 participants