Skip to content

Replaces deprecated getMock with createMock in mock client documentation #231

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
Apr 8, 2018
Merged

Conversation

shrink
Copy link
Contributor

@shrink shrink commented Apr 7, 2018

As of PHPUnit 5.4.0 (released more than a year ago) getMock has been deprecated, createMock is the correct method to use.

https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-5.4.0

As of PHPUnit 5.4.0 (released more than a year ago) `getMock` has been deprecated, `createMock` is the correct method to use.

https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-5.4.0
Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

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

good point, thanks!

@dbu dbu merged commit 3b98e1e into php-http:master Apr 8, 2018
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.

2 participants