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 1313
1414use PHPUnit \Framework \TestCase ;
1515use Symfony \Component \Cache \Adapter \AbstractAdapter ;
16+ use Symfony \Component \Cache \Adapter \MemcachedAdapter ;
1617use Symfony \Component \Cache \Traits \RedisProxy ;
1718use Symfony \Component \Lock \Store \FlockStore ;
1819use Symfony \Component \Lock \Store \MemcachedStore ;
@@ -56,7 +57,7 @@ public function validConnections()
5657 if (\extension_loaded ('sysvsem ' )) {
5758 yield ['semaphore ' , SemaphoreStore::class];
5859 }
59- if (class_exists (\Memcached ::class) && class_exists (AbstractAdapter::class )) {
60+ if (class_exists (AbstractAdapter ::class) && MemcachedAdapter:: isSupported ( )) {
6061 yield ['memcached://server.com ' , MemcachedStore::class];
6162 yield ['memcached:?host[localhost]&host[localhost:12345] ' , MemcachedStore::class];
6263 }
You can’t perform that action at this time.
0 commit comments