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 1
1
language : php
2
2
3
3
php :
4
- - 5.4
5
- - 5.5
6
- - 5.6
7
4
- 7.0
8
5
- 7.1
6
+ - 7.2
9
7
10
8
services :
11
9
- redis-server
17
15
- REQUIRE=""
18
16
- DB=mysql CAKE_VERSION=2
19
17
18
+ - secure : " NRP8WNBaBZnMrB0fyu19pReMYORhmf9y+LdxHoBCCmJGlm8ELpup0DinezG57kTTpvPRqlUCZF0XahZj5TAsb8FhI4FRUqPpLT1Osolz9UFHq90pe6nECmqkfAC+aU5jrXOG8q0Xd8UuJ4fpKRdS/dfmRY7QUPw3Cmv7B9TNmEI="
19
+
20
20
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
26
23
27
24
matrix :
28
25
include :
29
26
- php : 7.1
30
27
env :
31
- - CODECOVERAGE=1
28
+ - CODECOVERAGE=1 PHPUNIT_VERSION=^5.7
32
29
- php : 7.1
33
30
env :
34
31
- PHPCS=1
35
32
- php : 7.1
36
33
env :
37
34
- FOC_VALIDATE=1
38
35
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
51
38
52
39
branches :
53
40
only :
Original file line number Diff line number Diff line change 1
1
# Redis plugin for CakePHP
2
2
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 )
4
8
5
9
Redis (DataSource) Plugin for CakePHP
6
10
7
11
## Requirements
8
12
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.
11
15
* PhpRedis.
12
16
13
17
## Installation
@@ -42,7 +46,7 @@ CakePlugin::load('Redis');
42
46
<?php
43
47
class DATABASE_CONFIG {
44
48
45
- public $redis = array(
49
+ public $redis = [
46
50
'datasource' => 'Redis.RedisSource',
47
51
'host' => '127.0.0.1',
48
52
'port' => 6379,
@@ -52,7 +56,7 @@ class DATABASE_CONFIG {
52
56
'persistent' => false,
53
57
'unix_socket' => '',
54
58
'prefix' => '',
55
- ) ;
59
+ ] ;
56
60
```
57
61
58
62
## Usage
You can’t perform that action at this time.
0 commit comments