-
Notifications
You must be signed in to change notification settings - Fork 327
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
Leverage "options.parameters" config in PhpredisClientFactory::create()
#505
Conversation
phansys
commented
Mar 13, 2019
•
edited
Loading
edited
Q | A |
---|---|
Branch | master |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | n/a |
License | MIT |
Doc PR | n/a |
Without these changes, parameters provided at |
Thanks @phansys! Could you target |
d49049b
to
8cedf3e
Compare
Updated target to |
PhpredisClientFactory::create()
PhpredisClientFactory::create()
I had to use the full service definition in tests ("snc_redis.phpredis.default") instead of the short alias ("snc_redis.default" ) in tests since it seems to be unavailable in tests for phpredis. Do you have any clue about this?
|
Given my last comment, I think this PR should wait for #506 in order to fix the service definition. |
It's ok if you just use |
PhpredisClientFactory::create()
PhpredisClientFactory::create()
3f64274
to
a82b01f
Compare
This PR should wait #507 to fix the usage of phpredis through |
I don't get why we did not have this error before 🤔 |
I get it, the test was not executed at all before 😅 |
f8b7ece
to
a733e03
Compare
PhpredisClientFactory::create()
PhpredisClientFactory::create()
a733e03
to
cd0d853
Compare
PhpredisClientFactory::create()
PhpredisClientFactory::create()
@phansys Please keep everything in this one as it is related in some way IMHO. Also tests that depends on a specific phpredis version are usually handled like so: SncRedisBundle/Tests/Client/Phpredis/ClientTest.php Lines 18 to 22 in 521d237
No need to bother with redis4 group or something like this. |
cd0d853
to
3f5d108
Compare
Done @B-Galati. |
@phansys Awesome! Thanks a lot! |