File tree Expand file tree Collapse file tree 2 files changed +17
-26
lines changed Expand file tree Collapse file tree 2 files changed +17
-26
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4- - 5.4
5- - 5.5
6- - 5.6
74 - 7.0
85 - 7.1
6+ - 7.2
97
108services :
119 - redis-server
1715 - REQUIRE=""
1816 - DB=mysql CAKE_VERSION=2
1917
18+ - secure : " NRP8WNBaBZnMrB0fyu19pReMYORhmf9y+LdxHoBCCmJGlm8ELpup0DinezG57kTTpvPRqlUCZF0XahZj5TAsb8FhI4FRUqPpLT1Osolz9UFHq90pe6nECmqkfAC+aU5jrXOG8q0Xd8UuJ4fpKRdS/dfmRY7QUPw3Cmv7B9TNmEI="
19+
2020 matrix :
21- - DB=mysql CAKE_VERSION=2.6
22- - DB=mysql CAKE_VERSION=2.7
23- - DB=mysql CAKE_VERSION=2.8
24- - DB=mysql CAKE_VERSION=2.9
25- - DB=mysql CAKE_VERSION=2.10
21+ - CAKE_VERSION=2.9
22+ - CAKE_VERSION=2.10 PHPUNIT_VERSION=^5.7
2623
2724matrix :
2825 include :
2926 - php : 7.1
3027 env :
31- - CODECOVERAGE=1
28+ - CODECOVERAGE=1 PHPUNIT_VERSION=^5.7
3229 - php : 7.1
3330 env :
3431 - PHPCS=1
3532 - php : 7.1
3633 env :
3734 - FOC_VALIDATE=1
3835 exclude :
39- - php : 7.0
40- env : DB=mysql CAKE_VERSION=2.6
41- - php : 7.0
42- env : DB=mysql CAKE_VERSION=2.7
43- - php : 7.0
44- env : DB=mysql CAKE_VERSION=2.8
45- - php : 7.1
46- env : DB=mysql CAKE_VERSION=2.6
47- - php : 7.1
48- env : DB=mysql CAKE_VERSION=2.7
49- - php : 7.1
50- env : DB=mysql CAKE_VERSION=2.8
36+ - php : 7.2
37+ env : CAKE_VERSION=2.9
5138
5239branches :
5340 only :
Original file line number Diff line number Diff line change 11# Redis plugin for CakePHP
22
3- [ ![ Build Status] ( https://travis-ci.org/Oefenweb/cakephp-redis.png?branch=master )] ( https://travis-ci.org/Oefenweb/cakephp-redis ) [ ![ PHP 7 ready] ( http://php7ready.timesplinter.ch/Oefenweb/cakephp-redis/badge.svg )] ( https://travis-ci.org/Oefenweb/cakephp-redis ) [ ![ Coverage Status] ( https://codecov.io/gh/Oefenweb/cakephp-redis/branch/master/graph/badge.svg )] ( https://codecov.io/gh/Oefenweb/cakephp-redis ) [ ![ Packagist downloads] ( http://img.shields.io/packagist/dt/Oefenweb/cakephp-redis.svg )] ( https://packagist.org/packages/oefenweb/cakephp-redis ) [ ![ Code Climate] ( https://codeclimate.com/github/Oefenweb/cakephp-redis/badges/gpa.svg )] ( https://codeclimate.com/github/Oefenweb/cakephp-redis )
3+ [ ![ Build Status] ( https://travis-ci.org/Oefenweb/cakephp-redis.png?branch=master )] ( https://travis-ci.org/Oefenweb/cakephp-redis )
4+ [ ![ PHP 7 ready] ( http://php7ready.timesplinter.ch/Oefenweb/cakephp-redis/badge.svg )] ( https://travis-ci.org/Oefenweb/cakephp-redis )
5+ [ ![ Coverage Status] ( https://codecov.io/gh/Oefenweb/cakephp-redis/branch/master/graph/badge.svg )] ( https://codecov.io/gh/Oefenweb/cakephp-redis )
6+ [ ![ Packagist downloads] ( http://img.shields.io/packagist/dt/Oefenweb/cakephp-redis.svg )] ( https://packagist.org/packages/oefenweb/cakephp-redis )
7+ [ ![ Code Climate] ( https://codeclimate.com/github/Oefenweb/cakephp-redis/badges/gpa.svg )] ( https://codeclimate.com/github/Oefenweb/cakephp-redis )
48
59Redis (DataSource) Plugin for CakePHP
610
711## Requirements
812
9- * CakePHP 2.6 .0 or greater.
10- * PHP 5.4.16 or greater.
13+ * CakePHP 2.9 .0 or greater.
14+ * PHP 7.0.0 or greater.
1115* PhpRedis.
1216
1317## Installation
@@ -42,7 +46,7 @@ CakePlugin::load('Redis');
4246<?php
4347class DATABASE_CONFIG {
4448
45- public $redis = array(
49+ public $redis = [
4650 'datasource' => 'Redis.RedisSource',
4751 'host' => '127.0.0.1',
4852 'port' => 6379,
@@ -52,7 +56,7 @@ class DATABASE_CONFIG {
5256 'persistent' => false,
5357 'unix_socket' => '',
5458 'prefix' => '',
55- ) ;
59+ ] ;
5660```
5761
5862## Usage
You can’t perform that action at this time.
0 commit comments