Closed
Description
Symfony version(s) affected
6.0.0
Description
After upgrading to 5.4.0, everything is working fine except the lint command which gives:
[ERROR] Invalid definition for service "cache.app": argument 1 of
"Symfony\Component\Cache\Adapter\RedisAdapter::__construct()" accepts
"Redis|RedisArray|RedisCluster|Predis\ClientInterface|Symfony\Component\Cache\Traits\RedisProxy|Symfony\Compone
nt\Cache\Traits\RedisClusterProxy", "Symfony\Component\Cache\Adapter\AbstractAdapter" passed.
How to reproduce
Use redis as cache for system and app:
framework:
cache:
app: cache.adapter.redis
system: cache.adapter.redis
default_redis_provider: 'redis://localhost'
Launch lint command:
./bin/console --env dev lint:container
Possible Solution
No response
Additional Context
If i comment app and system keys, it's OK with the default values.