File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1414use Doctrine \DBAL \Connection ;
1515use PHPUnit \Framework \TestCase ;
1616use Symfony \Component \Cache \Adapter \AbstractAdapter ;
17+ use Symfony \Component \Cache \Adapter \MemcachedAdapter ;
1718use Symfony \Component \Cache \Traits \RedisProxy ;
1819use Symfony \Component \Lock \Store \DoctrineDbalPostgreSqlStore ;
1920use Symfony \Component \Lock \Store \DoctrineDbalStore ;
@@ -66,7 +67,7 @@ public function validConnections()
6667 if (\extension_loaded ('sysvsem ' )) {
6768 yield ['semaphore ' , SemaphoreStore::class];
6869 }
69- if (class_exists (\Memcached ::class) && class_exists (AbstractAdapter::class )) {
70+ if (class_exists (AbstractAdapter ::class) && MemcachedAdapter:: isSupported ( )) {
7071 yield ['memcached://server.com ' , MemcachedStore::class];
7172 yield ['memcached:?host[localhost]&host[localhost:12345] ' , MemcachedStore::class];
7273 }
You can’t perform that action at this time.
0 commit comments