mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-16 23:39:54 +03:00
Allowed failures on PHP 7.1 environments
This commit is contained in:
parent
5913550eec
commit
69cc30bce7
2 changed files with 5 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue