Closed shehabic closed 6 years ago
$ composer show --latest 'sonata-project/*' # Put the result here.
$ composer show --latest 'symfony/*' # Put the result here.
$ php -v # Put the result here.
Memcached Adapter is not conforming to CacheAdapterInterface the following:
/** * {@inheritdoc} */ public function get(array $keys) { return $this->handleGet($keys, $this->getCollection()->get($this->computeCacheKeys($keys))); }
should be:
/** * {@inheritdoc} */ public function get(array $keys): CacheElementInterface { return $this->handleGet($keys, $this->getCollection()->get($this->computeCacheKeys($keys))); }
Just run anything that instantiates and uses Memcached Adapter, and you'll endup with Fatal Error for Php 7+
Environment
Sonata packages
Symfony packages
PHP version
Subject
Memcached Adapter is not conforming to CacheAdapterInterface the following:
should be:
Steps to reproduce
Just run anything that instantiates and uses Memcached Adapter, and you'll endup with Fatal Error for Php 7+
Expected results
Actual results