Skip to content

Support PHPUnit version 8 identifier requirement #60

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 Feb 7, 2019
Merged

Support PHPUnit version 8 identifier requirement #60

merged 1 commit into from Feb 7, 2019

Conversation

ghost
Copy link

@ghost ghost commented Feb 1, 2019

This PR modifies the PHPUnit version requirement in 'NunoMaduro\Collision\Adapters\Phpunit\Listener' to instead ensure that version 7 is the required minimum, while future versions will be automatically accepted.

This fixes #59

I couldn't immediately determine an easy way to add a test for this functionality for a number of reasons:

  1. There was no version 7 test to begin with.
  2. PHPUnit 8 requires updates to other dependencies.
  3. I'm not entirely sure how you would mock a PHPUnit class itself.

…pters\Phpunit\Listener' to instead ensure that version 7 is the required minimum, while future versions will be automatically accepted

set author
@ghost ghost mentioned this pull request Feb 1, 2019
Copy link
Owner

@nunomaduro nunomaduro left a comment

Choose a reason for hiding this comment

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

Can you target the develop branch ?

@ghost ghost changed the base branch from stable to develop February 1, 2019 19:38
@ghost
Copy link
Author

ghost commented Feb 1, 2019

Done :)

@nunomaduro nunomaduro merged commit e68d272 into nunomaduro:develop Feb 7, 2019
@nunomaduro
Copy link
Owner

Thanks for this!

@ghost ghost deleted the phpunit-8 branch February 7, 2019 14:04
@ludo237
Copy link

ludo237 commented Feb 27, 2019

@nunomaduro This should not be in develop branch anymore.

Pulling "nunomaduro/collision": "^2.1", will still have the "7." check

@seojtix
Copy link

seojtix commented Mar 6, 2019

@nunomaduro Agreed with @ludo237. Could you add phpunit 8 support to 2.1 version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants