Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Add PHPUnit 6 support #270

Merged
merged 3 commits into from Oct 8, 2017
Merged

Conversation

theofidry
Copy link
Member

No description provided.

@@ -27,6 +27,11 @@ public function setup()
$this->container = new Container(['timeout'=>10]);
}

public function tearDown()
{
m::close();
Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest using the \Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration trait as it will automatically call close() and increase the assertion counts for you.

@theofidry theofidry merged commit 4ee9617 into humbug:master Oct 8, 2017
@theofidry theofidry deleted the bugfix/phpunit-6 branch October 8, 2017 09:24
@theofidry
Copy link
Member Author

Thanks for the review @robertbasic :)

@theofidry theofidry mentioned this pull request Oct 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants