Skip to content

Commit a650e15

Browse files
committed
renamed from phpredis to redis
1 parent e94dd67 commit a650e15

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# PhpRedis PSR-6 adapter
2-
[![Build Status](https://travis-ci.org/php-cache/phpredis-adapter.svg?branch=master)](https://travis-ci.org/php-cache/phpredis-adapter) [![codecov.io](https://codecov.io/github/php-cache/phpredis-adapter/coverage.svg?branch=master)](https://codecov.io/github/php-cache/phpredis-adapter?branch=master)
1+
# Redis PSR-6 adapter using PhpRedis
2+
[![Build Status](https://travis-ci.org/php-cache/redis-adapter.svg?branch=master)](https://travis-ci.org/php-cache/redis-adapter) [![codecov.io](https://codecov.io/github/php-cache/redis-adapter/coverage.svg?branch=master)](https://codecov.io/github/php-cache/redis-adapter?branch=master)
33

44
This is a implementation for the PSR-6 for PhpRedis cache. This implementation supports tags.
55

66
This implementation is using [PhpRedis](https://github.com/phpredis/phpredis). If you want an adapter with
7-
[Predis](https://github.com/nrk/predis) you should look at our [Redis adapter](https://github.com/php-cache/redis-adapter).
7+
[Predis](https://github.com/nrk/predis) you should look at our [Predis adapter](https://github.com/php-cache/predis-adapter).

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "cache/phpredis-adapter",
2+
"name": "cache/redis-adapter",
33
"description": "A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags",
44
"type": "library",
55
"license": "MIT",
@@ -12,7 +12,7 @@
1212
"redis",
1313
"tag"
1414
],
15-
"homepage": "https://github.com/php-cache/phpredis-adapter",
15+
"homepage": "https://github.com/php-cache/redis-adapter",
1616
"authors":
1717
[
1818
{
@@ -46,13 +46,13 @@
4646
"autoload":
4747
{
4848
"psr-4": {
49-
"Cache\\Adapter\\PhpRedis\\": "src/"
49+
"Cache\\Adapter\\Redis\\": "src/"
5050
}
5151
},
5252
"autoload-dev":
5353
{
5454
"psr-4": {
55-
"Cache\\Adapter\\PhpRedis\\Tests\\": "tests/"
55+
"Cache\\Adapter\\Redis\\Tests\\": "tests/"
5656
}
5757
}
5858
}

src/PhpRedisCachePool.php renamed to src/RedisCachePool.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
* with this source code in the file LICENSE.
1010
*/
1111

12-
namespace Cache\Adapter\PhpRedis;
12+
namespace Cache\Adapter\Redis;
1313

1414
use Cache\Adapter\Common\AbstractCachePool;
1515
use Psr\Cache\CacheItemInterface;
1616

1717
/**
1818
* @author Tobias Nyholm <[email protected]>
1919
*/
20-
class PhpRedisCachePool extends AbstractCachePool
20+
class RedisCachePool extends AbstractCachePool
2121
{
2222
/**
2323
* @type \Redis

tests/IntegrationPoolTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* with this source code in the file LICENSE.
1010
*/
1111

12-
namespace Cache\Adapter\PhpRedis\Tests;
12+
namespace Cache\Adapter\Redis\Tests;
1313

14-
use Cache\Adapter\PhpRedis\PhpRedisCachePool;
14+
use Cache\Adapter\Redis\RedisCachePool;
1515
use Cache\IntegrationTests\CachePoolTest as BaseTest;
1616

1717
class IntegrationPoolTest extends BaseTest
@@ -20,7 +20,7 @@ class IntegrationPoolTest extends BaseTest
2020

2121
public function createCachePool()
2222
{
23-
return new PhpRedisCachePool($this->getClient());
23+
return new RedisCachePool($this->getClient());
2424
}
2525

2626
private function getClient()

tests/IntegrationTagTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* with this source code in the file LICENSE.
1010
*/
1111

12-
namespace Cache\Adapter\PhpRedis\Tests;
12+
namespace Cache\Adapter\Redis\Tests;
1313

14-
use Cache\Adapter\PhpRedis\PhpRedisCachePool;
14+
use Cache\Adapter\Redis\RedisCachePool;
1515
use Cache\IntegrationTests\TaggableCachePoolTest;
1616

1717
class IntegrationTagTest extends TaggableCachePoolTest
@@ -20,7 +20,7 @@ class IntegrationTagTest extends TaggableCachePoolTest
2020

2121
public function createCachePool()
2222
{
23-
return new PhpRedisCachePool($this->getClient());
23+
return new RedisCachePool($this->getClient());
2424
}
2525

2626
private function getClient()

0 commit comments

Comments
 (0)