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

Run tests on PHPUnit 9 #65

Merged
merged 1 commit into from
Jul 30, 2020
Merged

Run tests on PHPUnit 9 #65

merged 1 commit into from
Jul 30, 2020

Conversation

SimonFrings
Copy link
Contributor

No description provided.

@SimonFrings SimonFrings force-pushed the tests branch 2 times, most recently from f962595 to 2ad7f23 Compare July 29, 2020 12:27
@@ -48,7 +48,13 @@ protected function expectCallableOnceParameter($type)

protected function createCallableMock()
{
return $this->getMockBuilder('stdClass')->setMethods(array('__invoke'))->getMock();
if (method_exists('PHPUnit\Framework\MockObject\MockBuilder', 'addMethods')) {
// PHPUnit 10+
Copy link
Owner

Choose a reason for hiding this comment

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

PHPUnit 10?

Copy link
Contributor Author

@SimonFrings SimonFrings Jul 30, 2020

Choose a reason for hiding this comment

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

Whops, I meant PHPUnit 8.5.0+ 😅

@SimonFrings SimonFrings force-pushed the tests branch 3 times, most recently from a74e1b4 to 86dd845 Compare July 30, 2020 09:55
Copy link
Owner

@clue clue left a comment

Choose a reason for hiding this comment

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

@SimonFrings Thanks for the update, changes LGTM! :shipit:

@clue clue added this to the v1.3.0 milestone Jul 30, 2020
@clue clue merged commit 5405f4e into clue:master Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants