Skip to content

Commit 203bd4c

Browse files
authored
dev/1.2.0 (#4)
* fixes unit tests (for phpunit 7+) * min PHP version is 7.2 * removed support for PHP 7.1 * badge update * version bump
1 parent 2950609 commit 203bd4c

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ notifications:
1010
email: false
1111

1212
php:
13-
- 7.1
1413
- 7.2
1514
- 7.3
1615

@@ -31,7 +30,7 @@ before_script:
3130
- pecl install msgpack
3231

3332
install:
34-
- composer update -o --no-interaction --ignore-platform-reqs
33+
- composer update -o --no-interaction --prefer-stable
3534

3635
script:
3736
- vendor/bin/phpunit --coverage-clover build/coverage/clover.xml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Koded - Extended Caching Library
55
[![Build Status](https://travis-ci.org/kodedphp/cache-extended.svg?branch=master)](https://travis-ci.org/kodedphp/cache-extended)
66
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/f1aefebb27b1485dbeb2b00ffe7c77fc)](https://www.codacy.com/app/kodeart/cache-extended)
77
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/f1aefebb27b1485dbeb2b00ffe7c77fc)](https://www.codacy.com/app/kodeart/cache-extended)
8-
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-8892BF.svg)](https://php.net/)
8+
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.2-8892BF.svg)](https://php.net/)
99
[![Software license](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](LICENSE)
1010

1111
A [PSR-6][psr-6] caching library for PHP 7 using several caching technologies.

Tests/Integration/FileClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function createCachePool()
2222
return CachePool::use('file');
2323
}
2424

25-
protected function setUp()
25+
protected function setUp(): void
2626
{
2727
$this->dir = vfsStream::setup();
2828
parent::setUp();

Tests/Integration/MemcachedClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function createCachePool()
1919
]);
2020
}
2121

22-
protected function setUp()
22+
protected function setUp(): void
2323
{
2424
if (false === extension_loaded('memcached')) {
2525
$this->markTestSkipped('Memcached extension is not loaded.');

Tests/Integration/RedisClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function createCachePool()
1818
]);
1919
}
2020

21-
protected function setUp()
21+
protected function setUp(): void
2222
{
2323
if (false === extension_loaded('redis')) {
2424
$this->markTestSkipped('Redis extension is not loaded.');

Tests/Integration/RedisJsonClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function createCachePool()
2121
]);
2222
}
2323

24-
protected function setUp()
24+
protected function setUp(): void
2525
{
2626
if (false === extension_loaded('redis')) {
2727
$this->markTestSkipped('Redis extension is not loaded.');

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.2.0

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"prefer-stable": true,
2323
"require": {
24-
"php": "^7.3",
24+
"php": "^7.2",
2525
"psr/cache": "~1",
2626
"koded/cache-simple": "~2"
2727
},
@@ -36,7 +36,7 @@
3636
"suggest": {
3737
"ext-redis": "For caching in Redis",
3838
"ext-memcached": "For caching in Memcached",
39-
"predis/predis": "If you want to use Redis without ext-redis extension",
39+
"predis/predis": "For using Redis without ext-redis extension",
4040
"ext-msgpack": "For de/serializing the cache data with msgpack",
4141
"ext-igbinary": "For Redis igbinary support"
4242
},
@@ -45,7 +45,8 @@
4545
"mikey179/vfsStream": "~1",
4646
"predis/predis": "dev-master",
4747
"cache/integration-tests": "dev-master",
48-
"codacy/coverage": "dev-master"
48+
"codacy/coverage": "dev-master",
49+
"symfony/phpunit-bridge": "^4.4@dev"
4950
},
5051
"extra": {
5152
"branch-alias": {

0 commit comments

Comments
 (0)