Skip to content

Commit

Permalink
dev/1.2.0 (#4)
Browse files Browse the repository at this point in the history
* fixes unit tests (for phpunit 7+)
* min PHP version is 7.2
* removed support for PHP 7.1
* badge update
* version bump
  • Loading branch information
kodeart authored Sep 9, 2019
1 parent 2950609 commit 203bd4c
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ notifications:
email: false

php:
- 7.1
- 7.2
- 7.3

Expand All @@ -31,7 +30,7 @@ before_script:
- pecl install msgpack

install:
- composer update -o --no-interaction --ignore-platform-reqs
- composer update -o --no-interaction --prefer-stable

script:
- vendor/bin/phpunit --coverage-clover build/coverage/clover.xml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Koded - Extended Caching Library
[![Build Status](https://travis-ci.org/kodedphp/cache-extended.svg?branch=master)](https://travis-ci.org/kodedphp/cache-extended)
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/f1aefebb27b1485dbeb2b00ffe7c77fc)](https://www.codacy.com/app/kodeart/cache-extended)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/f1aefebb27b1485dbeb2b00ffe7c77fc)](https://www.codacy.com/app/kodeart/cache-extended)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-8892BF.svg)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.2-8892BF.svg)](https://php.net/)
[![Software license](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](LICENSE)

A [PSR-6][psr-6] caching library for PHP 7 using several caching technologies.
Expand Down
2 changes: 1 addition & 1 deletion Tests/Integration/FileClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function createCachePool()
return CachePool::use('file');
}

protected function setUp()
protected function setUp(): void
{
$this->dir = vfsStream::setup();
parent::setUp();
Expand Down
2 changes: 1 addition & 1 deletion Tests/Integration/MemcachedClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function createCachePool()
]);
}

protected function setUp()
protected function setUp(): void
{
if (false === extension_loaded('memcached')) {
$this->markTestSkipped('Memcached extension is not loaded.');
Expand Down
2 changes: 1 addition & 1 deletion Tests/Integration/RedisClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function createCachePool()
]);
}

protected function setUp()
protected function setUp(): void
{
if (false === extension_loaded('redis')) {
$this->markTestSkipped('Redis extension is not loaded.');
Expand Down
2 changes: 1 addition & 1 deletion Tests/Integration/RedisJsonClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function createCachePool()
]);
}

protected function setUp()
protected function setUp(): void
{
if (false === extension_loaded('redis')) {
$this->markTestSkipped('Redis extension is not loaded.');
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.2.0
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"prefer-stable": true,
"require": {
"php": "^7.3",
"php": "^7.2",
"psr/cache": "~1",
"koded/cache-simple": "~2"
},
Expand All @@ -36,7 +36,7 @@
"suggest": {
"ext-redis": "For caching in Redis",
"ext-memcached": "For caching in Memcached",
"predis/predis": "If you want to use Redis without ext-redis extension",
"predis/predis": "For using Redis without ext-redis extension",
"ext-msgpack": "For de/serializing the cache data with msgpack",
"ext-igbinary": "For Redis igbinary support"
},
Expand All @@ -45,7 +45,8 @@
"mikey179/vfsStream": "~1",
"predis/predis": "dev-master",
"cache/integration-tests": "dev-master",
"codacy/coverage": "dev-master"
"codacy/coverage": "dev-master",
"symfony/phpunit-bridge": "^4.4@dev"
},
"extra": {
"branch-alias": {
Expand Down

0 comments on commit 203bd4c

Please sign in to comment.