Skip to content

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
chriscct7 pushed a commit to awesomemotive/aioseo-slim-v3-php-8.1 that referenced this pull request Sep 3, 2025
Replace deprecated setMethods() in tests
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.

3 participants