Visitar URL original
tests: Remove any hardcoded class creation by michael-grunder · Pull Request #2952 · phpredis/phpredis · GitHub
Skip to content

tests: Remove any hardcoded class creation - #2952

Merged
michael-grunder merged 1 commit into
developfrom
tests/dont-hardcode-classes
Oct 7, 2026
Merged

michael-grunder merged 1 commit into
developfrom
tests/dont-hardcode-classes

Conversation

@michael-grunder

Copy link
Copy Markdown
Member

It's possible to run these tests with any phpredis compatible classes but there were a few places we still hardcoded the class creation.

This just removes all hardcoded classes in favor of overridable methods

It's possible to run these tests with any phpredis compatible classes
but there were a few places we still hardcoded the class creation.

This just removes all hardcoded classes in favor of overridable methods
@michael-grunder
michael-grunder merged commit e037b7c into develop Oct 7, 2026
96 of 97 checks passed
@michael-grunder
michael-grunder deleted the tests/dont-hardcode-classes branch October 7, 2026 23:45
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.

1 participant