Skip to content

Commit 83059b5

Browse files
committed
Fixed tests & dropped support of Riak which is became unmaintenable and is globally unused
1 parent db1fad0 commit 83059b5

12 files changed

Lines changed: 31 additions & 477 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ services:
1515
- memcached
1616
- redis
1717
- couchdb
18-
- riak
1918
- mongodb
2019

2120
before_script:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ This ensure you that the library is completely reliable when it come to manipula
3030
| `Leveldb` | `Mongodb` | `Memstatic` | `RandomReplicationCluster` |
3131
| `Memcache(d)` | `Predis` | | |
3232
| `Sqlite` | `Redis` | | |
33-
| `Wincache` | `Riak` | | |
34-
| `Zend Disk Cache` | `Ssdb` | | |
35-
| | `Zend Memory Cache` | | |
33+
| `Wincache` | `Ssdb` | | |
34+
| `Zend Disk Cache` | `Zend Memory Cache` | | |
35+
| | | | |
3636

3737
\* Driver descriptions available in DOCS/DRIVERS.md
3838

bin/ci/install_dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
composer self-update;
44
composer install --ignore-platform-reqs;
5-
composer require "phpfastcache/couchdb:~1.0.0" "phpfastcache/phpssdb:~1.0.0" "predis/predis:~1.1.0" "mongodb/mongodb:^1.1" "phpfastcache/riak-client:^1.4.4" --ignore-platform-reqs;
5+
composer require "phpfastcache/couchdb:~1.0.0" "phpfastcache/phpssdb:~1.0.0" "predis/predis:~1.1.0" "mongodb/mongodb:^1.1" --ignore-platform-reqs;

composer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,10 @@
4444
"predis/predis": "~1.1.0",
4545
"mongodb/mongodb": "^1.1",
4646
"phpfastcache/phpssdb": "~1.0.0",
47-
"phpfastcache/couchdb": "~1.0.0",
48-
"phpfastcache/riak-client": "~1.4.4"
47+
"phpfastcache/couchdb": "~1.0.0"
4948
},
5049
"conflict": {
51-
"doctrine/couchdb": "*",
52-
"basho/riak": "*"
50+
"doctrine/couchdb": "*"
5351
},
5452
"autoload": {
5553
"psr-4": {

composer.lock

Lines changed: 23 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/DRIVERS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* A high-performance memory driver using a in-memory data structure storage. Less efficient than Redis driver as it is an embedded library
3434
* Redis
3535
* A very high-performance memory driver using a in-memory data structure storage. More efficient than Predis driver as it is an compiled library
36-
* Riak
36+
* Riak **(REMOVED in V8.0.6)**
3737
* A very high-performance NoSQL driver using a key-value pair system
3838
* Sqlite
3939
* A Sqlite driver that use serialization for storing data for regular performances. A _$path_ config must be specified, else the system temporary directory will be used.
@@ -46,4 +46,4 @@
4646
* Zend Disk Cache ( * Requires ZendServer Version 4 or higher * )
4747
* The Zend Data Cache is a by ZendServer supported file cache. The cache is for regular performance.
4848
* Zend Memory Cache ( * Requires ZendServer Version 4 or higher * )
49-
* The Zend Memory Cache is a by ZendServer supported memory cache. The cache is for high-performance applications.
49+
* The Zend Memory Cache is a by ZendServer supported memory cache. The cache is for high-performance applications.

docs/examples/riak.php

Lines changed: 0 additions & 50 deletions
This file was deleted.

lib/Phpfastcache/CacheManager.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
* @method static ExtendedCacheItemPoolInterface Mongodb() Mongodb($config = []) Return a driver "Mongodb" instance
5151
* @method static ExtendedCacheItemPoolInterface Predis() Predis($config = []) Return a driver "Predis" instance
5252
* @method static ExtendedCacheItemPoolInterface Redis() Redis($config = []) Return a driver "Pedis" instance
53-
* @method static ExtendedCacheItemPoolInterface Riak() Riak($config = []) Return a driver "Riak" instance
5453
* @method static ExtendedCacheItemPoolInterface Sqlite() Sqlite($config = []) Return a driver "Sqlite" instance
5554
* @method static ExtendedCacheItemPoolInterface Ssdb() Ssdb($config = []) Return a driver "Ssdb" instance
5655
* @method static ExtendedCacheItemPoolInterface Wincache() Wincache($config = []) Return a driver "Wincache" instance

lib/Phpfastcache/Drivers/Riak/Config.php

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)