Showing 316 of 316 total issues
Call to method save
from undeclared class \Psr\Cache\CacheItemPoolInterface
Open
Open
$this->cache->save($cacheItem);
- Exclude checks
@throws annotation of query
has suspicious interface type \Prismic\Exception\exceptioninterface
for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional) Open
Open
public function query($q, array $options = []) : Response
- Exclude checks
Return type of getApcCache()
is undeclared type \Psr\Cache\CacheItemPoolInterface
Open
Open
public static function getApcCache() : CacheItemPoolInterface
- Exclude checks
Call to method __construct
from undeclared class \Zend\Escaper\Escaper
Open
Open
$this->escapeHelper = new Escaper;
- Exclude checks
Parameter $e
has undeclared type \GuzzleHttp\Exception\GuzzleException
Open
Open
public static function fromGuzzleException(GuzzleException $e) : self
- Exclude checks
Call to method set
from undeclared class \Psr\Cache\CacheItemInterface
Open
Open
$cacheItem->set($json);
- Exclude checks
Call to method save
from undeclared class \Psr\Cache\CacheItemPoolInterface
Open
Open
$this->api->getCache()->save($cacheItem);
- Exclude checks
Call to method get
from undeclared class \Psr\Cache\CacheItemInterface
Open
Open
$json = $cacheItem->get();
- Exclude checks
Call to method isHit
from undeclared class \Psr\Cache\CacheItemInterface
Open
Open
if ($cacheItem->isHit()) {
- Exclude checks
Call to method expiresAfter
from undeclared class \Psr\Cache\CacheItemInterface
Open
Open
$cacheItem->expiresAfter($cacheDuration);
- Exclude checks
Return type of getCacheItem()
is undeclared type \Psr\Cache\CacheItemInterface
Open
Open
private function getCacheItem() : CacheItemInterface
- Exclude checks
@throws annotation of query
has suspicious interface type \Prismic\Exception\exceptioninterface
for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional) Open
Open
public function query(...$params) : self
- Exclude checks
Call to method getItem
from undeclared class \Psr\Cache\CacheItemPoolInterface
Open
Open
return $this->api->getCache()->getItem($key);
- Exclude checks
Catching undeclared class \Psr\Cache\CacheException
Open
Open
} catch (CacheException $cacheException) {
- Exclude checks
Call to method request
from undeclared class \GuzzleHttp\ClientInterface
Open
Open
$response = $this->api->getHttpClient()->request('GET', $url);
- Exclude checks
Catching undeclared class \GuzzleHttp\Exception\GuzzleException
Open
Open
} catch (GuzzleException $guzzleException) {
- Exclude checks