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

VersionAwarePlatformDriver should extend Driver #3746

Closed
morozov opened this issue Nov 25, 2019 · 1 comment · Fixed by #3750
Closed

VersionAwarePlatformDriver should extend Driver #3746

morozov opened this issue Nov 25, 2019 · 1 comment · Fixed by #3750

Comments

@morozov
Copy link
Member

morozov commented Nov 25, 2019

According to sebastianbergmann/phpunit#3955, the fact that some of our tests mock a combination of Driver and VersionAwarePlatformDriver indicates poor design.

Indeed, in its essence, VersionAwarePlatformDriver is a subtype of Driver, not a separate type and should be defined accordingly.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant