Skip to content

Accept DNS ResolverInterface and fix failing test suite #30

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
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 Factory 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.

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

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.

3 participants