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

Replace deprecated setMethods() in tests #3123

Merged
merged 1 commit into from Oct 19, 2021
Merged

Replace deprecated setMethods() in tests #3123

merged 1 commit into from Oct 19, 2021

Conversation

solventt
Copy link
Contributor

In PhpUnit setMethods() is deprecated (sebastianbergmann/phpunit#3687) and will be removed in version 10 (sebastianbergmann/phpunit#3769). The method was split into two methods (onlyMethods and addMethods) according to their responsibilities.

So I've replaced the method with onlyMethods in ResponseEmitterTest.

@l0gicgate l0gicgate added this to the 4.10.0 milestone Oct 19, 2021
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 9841374 on solventt:replace-setMethods into 44d3c9c on slimphp:4.x.

@l0gicgate l0gicgate merged commit a5c3681 into slimphp:4.x Oct 19, 2021
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