snc/SncRedisBundle

Broken basic configuration without sentinel/replication in `v4.4.0`

p4veI opened this issue · 1 comments

p4veI commented

Hello, while updating the snc-redis library in my project which uses basic predis configuration for this bundle, the configuration I'm using fails with InvalidArgumentException:

Values evaluating to FALSE are not accepted for `replication`

My configuration looks like this:

snc_redis:
    clients:
        default:
            type: predis
            alias: default
            dsn: '%env(REDIS_DSN)%'

I believe the issue is caused by the change in config options for the newly added sentinel support in the Configuration.php file 6f654e4

We're not using replication so I believe it's impossible for me to adjust the config so the value can be passes. Neither the above config nor including the following works.

options:
  replication: false

duplicate of #683