This repository was archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Bumped PHP to 7.1 and updated PHPUnit to ^6.2.2 #114
Merged
Ocramius
merged 10 commits into
zendframework:develop
from
michalbundyra:feature/phpunit
Jul 3, 2017
Merged
Bumped PHP to 7.1 and updated PHPUnit to ^6.2.2 #114
Ocramius
merged 10 commits into
zendframework:develop
from
michalbundyra:feature/phpunit
Jul 3, 2017
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These version of PHPUnit are currenty supported. We need both versions because PHPUnit 6 supports only PHP7+. Changed travis configuration to use PHPUnit 5.7 on PHP 5.6.
Do you want to do it in this PR? |
Yep
…On 3 Jul 2017 15:17, "Michał Bundyra" ***@***.***> wrote:
@Ocramius <https://github.com/ocramius>
We can bump everything to 7.1, as other zf components are also finally
doing it
Do you want to do it in this PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJakOp1kavFwvoKpTtshVQ8dAeeWz4bks5sKOnXgaJpZM4OMPrR>
.
|
Removed PHPUnit 5.7.21 and updated travis configuration
Removed unused group "disable"
When we use methods `expectException*` we can call them just before line which should throw an exception
- use asserCount instead of assertEquals(.. count()) - use assertInstanceOf instead of isInstanceOf
@Ocramius all done |
Ocramius
approved these changes
Jul 3, 2017
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.
Just a note for next tine (didn't want to rewrite all assertions now): it should be self::assert...
🚢 Thanks @webimpress! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
::class
notation in tests