-
-
Notifications
You must be signed in to change notification settings - Fork 132
Use modern phpunit #56
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I have noted 2 questions inline
- hhvm | ||
|
||
matrix: | ||
allow_failures: | ||
- php: hhvm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That change means that HHVM is no longer supported, is there a reason for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it fails ;)
And lot of projects slowly drop support for it (including Symfony which is in the dep tree)
@@ -40,14 +40,11 @@ public function testGetKey() | |||
|
|||
/** | |||
* @dataProvider invalidValueProvider | |||
* @expectedException UnexpectedValueException | |||
* @expectedExceptionMessage is not part of the enum MyCLabs\Tests\Enum\EnumFixture |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test is not the same, the first part of the message is not tested anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but didn't find any other way
Notice, this PR is mostly required to run test suite with modern PHP version, as various fix for 7.1, 7.2.. are only available in latest PHPUnit So using old PHPUnit 4 with recent PHP versions will probably raise some failures. |
Thank you for the pull request |
Allow 4.8.35, 5.7, 6.0 which all have the forward compatibility layer
So
7.2 enabled in travis.