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

Accept DNS ResolverInterface and fix failing test suite #208

Merged
merged 1 commit into from
Jul 18, 2019

Conversation

clue
Copy link
Member

@clue clue commented Jul 18, 2019

As of reactphp/dns#134, all DNS classes are marked as final, including the Resolver class which is most commonly used in consuming packages. This changeset adjusts our connectors to accept the ResolverInterface interface as the common interface into this class and also adjust tests to use this interface for mocking. This is not a BC break because the interface is strictly compatible with the original Resolver behavior.

Resolves #207
Builds on top of reactphp/dns#139 and reactphp/dns#134

@jsor jsor merged commit 87e7633 into reactphp:master Jul 18, 2019
@clue clue deleted the resolverinterface branch July 18, 2019 20:06
clue added a commit to clue-labs/reactphp that referenced this pull request Jul 10, 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.

Skip mocking DNS resolver (warning)
3 participants