mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 17:06:41 -06:00
Allowed failures on PHP 7.1 environments
This commit is contained in:
parent
5913550eec
commit
69cc30bce7
@ -23,3 +23,8 @@ after_script:
|
||||
- php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
|
||||
|
||||
sudo: false
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
allow_failures:
|
||||
- php: 7.1
|
||||
|
@ -59,10 +59,6 @@ class CacheFactory implements FactoryInterface
|
||||
case Cache\PhpFileCache::class:
|
||||
return new $cacheConfig['adapter']($cacheConfig['options']['dir']);
|
||||
case Cache\MemcachedCache::class:
|
||||
if (! class_exists(\Memcached::class)) {
|
||||
return new Cache\ArrayCache();
|
||||
}
|
||||
|
||||
$memcached = new \Memcached();
|
||||
$servers = isset($cacheConfig['options']['servers']) ? $cacheConfig['options']['servers'] : [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user