Allowed failures on PHP 7.1 environments

This commit is contained in:
Alejandro Celaya 2016-08-09 18:38:48 +02:00
parent 5913550eec
commit 69cc30bce7
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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'] : [];