Skip to content

Commit 9409550

Browse files
committed
Tagging bugfix and updated tests to ^0.9
1 parent e8131ff commit 9409550

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

VoidCachePool.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,41 @@
2121
*/
2222
class VoidCachePool extends AbstractCachePool implements TaggablePoolInterface, HierarchicalPoolInterface
2323
{
24+
/**
25+
* {@inheritdoc}
26+
*/
2427
protected function fetchObjectFromCache($key)
2528
{
2629
return [false, null, []];
2730
}
2831

32+
/**
33+
* {@inheritdoc}
34+
*/
2935
protected function clearAllObjectsFromCache()
3036
{
3137
return true;
3238
}
3339

40+
/**
41+
* {@inheritdoc}
42+
*/
3443
protected function clearOneObjectFromCache($key)
3544
{
3645
return true;
3746
}
3847

48+
/**
49+
* {@inheritdoc}
50+
*/
3951
protected function storeItemInCache(CacheItemInterface $item, $ttl)
4052
{
4153
return true;
4254
}
4355

56+
/**
57+
* {@inheritdoc}
58+
*/
4459
public function clearTags(array $tags)
4560
{
4661
return true;

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
"require": {
2727
"php": "^5.5|^7.0",
2828
"psr/cache": "^1.0",
29-
"cache/adapter-common": "^0.2"
29+
"cache/adapter-common": "^0.3"
3030
},
3131
"require-dev": {
3232
"phpunit/phpunit": "^4.0|^5.1",
33-
"cache/integration-tests": "0.9.0"
33+
"cache/integration-tests": "^0.9"
3434
},
3535
"provide": {
3636
"psr/cache-implementation": "^1.0"

0 commit comments

Comments
 (0)