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

Add support for PHPUnit 8.0 #942

Merged
merged 1 commit into from Feb 5, 2019
Merged

Conversation

LeSuisse
Copy link
Contributor

@LeSuisse LeSuisse commented Feb 4, 2019

I did not deal with deprecation notices related to the usage of the @expectedException annotation. If you feel it should be done here, I can update the PR.

@@ -22,19 +22,37 @@

use Mockery;

if (\PHP_VERSION_ID < 70000) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This might break existing PHPUnit 6 and 7 tests, PHPUnit 8+ should be explicitly targeted instead.

@@ -20,7 +20,44 @@

namespace Mockery\Adapter\Phpunit;

if (\PHP_VERSION_ID < 70000) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This might break existing PHPUnit 6 and 7 tests, PHPUnit 8+ should be explicitly targeted instead.

@LeSuisse LeSuisse force-pushed the phpunit-8 branch 3 times, most recently from 86fe6a2 to be0339e Compare February 5, 2019 11:36
@LeSuisse
Copy link
Contributor Author

LeSuisse commented Feb 5, 2019

I have updated the PR to get rid of the PHPUnit 8 deprecation warnings, CI looks happy now.

@davedevelopment davedevelopment merged commit 34d877d into mockery:master Feb 5, 2019
@davedevelopment
Copy link
Collaborator

Thank you, appreciate the effort here.

@LeSuisse LeSuisse deleted the phpunit-8 branch February 6, 2019 07:37
@simPod
Copy link

simPod commented Feb 6, 2019

@davedevelopment Hi, any chance to have release soon? Thanks

@davedevelopment
Copy link
Collaborator

@simPod sure, will start thinking things through, PR for the changelog is where I start #943

@simPod
Copy link

simPod commented Feb 7, 2019

Cool, thanks for update 👍

@davedevelopment
Copy link
Collaborator

@simPod https://github.com/mockery/mockery/releases/tag/1.2.1

@simPod
Copy link

simPod commented Feb 8, 2019

@davedevelopment appreciated 👌

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