Skip to content

Commit 4c66ae4

Browse files
Replaces short array syntax usages with array() construct
Removes duplicate 5.3 from Travis CI config
1 parent 2c51fb8 commit 4c66ae4

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ matrix:
66
language: php
77

88
php:
9-
- '5.3'
109
- '5.4'
1110
- '5.5'
1211
- '5.6'

tests/lib/Store/StoreTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function testGet()
3434

3535
$type = 'session';
3636
$key = 'SESSION_ID';
37-
$value = ['some' => 'thing'];
37+
$value = array('some' => 'thing');
3838
$expire = time() + 1000000;
3939

4040
$result = $store->get($type, $key);
@@ -59,7 +59,7 @@ public function testExpiredGet()
5959

6060
$type = 'session';
6161
$key = 'SESSION_ID';
62-
$value = ['some' => 'thing'];
62+
$value = array('some' => 'thing');
6363
$expire = 0;
6464
$store->set($type, $key, $value, $expire);
6565
$this->assertEquals(1, $collection->count());
@@ -80,7 +80,7 @@ public function testSet()
8080

8181
$type = 'session';
8282
$key = 'SESSION_ID';
83-
$value = ['some' => 'thing'];
83+
$value = array('some' => 'thing');
8484
$expire = time() + 1000000;
8585

8686
$result = $store->get($type, $key);
@@ -93,7 +93,7 @@ public function testSet()
9393
$this->assertEquals($result, $value);
9494
$this->assertEquals(1, $collection->count());
9595

96-
$value = ['some' => 'otherthing'];
96+
$value = array('some' => 'otherthing');
9797
$result = $store->set($type, $key, $value, $expire);
9898
$this->assertEquals(1, $collection->count());
9999
$this->assertEquals($expire, $result);
@@ -113,7 +113,7 @@ public function testDelete()
113113

114114
$type = 'session';
115115
$key = 'SESSION_ID';
116-
$value = ['some' => 'thing'];
116+
$value = array('some' => 'thing');
117117
$expire = time() + 1000000;
118118
$store->set($type, $key, $value, $expire);
119119
$this->assertEquals(1, $collection->count());

0 commit comments

Comments
 (0)