Skip to content

Commit 3e95103

Browse files
authored
Test on SF 3.3 and HHVM (#64)
* Test on SF 3.3 and HHVM * Bugfix
1 parent a1d2f4d commit 3e95103

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
matrix:
2020
- SYMFONY_VERSION=2.7.*
2121
- SYMFONY_VERSION=2.8.*
22-
- SYMFONY_VERSION=3.2.*
22+
- SYMFONY_VERSION=3.3.*
2323

2424
branches:
2525
except:
@@ -31,6 +31,9 @@ matrix:
3131
include:
3232
- php: 5.5
3333
env: COMPOSER_COMMAND="composer update --prefer-lowest --prefer-stable" COVERAGE=true TEST_COMMAND="php -dzend_extension=xdebug.so vendor/bin/phpunit --coverage-clover=coverage.xml" SYMFONY_VERSION=2.7.*
34+
- php: hhvm
35+
env: SYMFONY_VERSION=3.3.*
36+
dist: trusty
3437

3538
cache:
3639
directories:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"cache/namespaced-cache": "^0.1"
2626
},
2727
"require-dev": {
28-
"phpunit/phpunit": "5.0.* || ^4.0",
28+
"phpunit/phpunit": "^4.8.36 || ^5.5",
2929
"symfony/symfony": "^2.7 || ^3.0",
3030
"matthiasnoback/symfony-dependency-injection-test": "^1.0",
31-
"nyholm/symfony-bundle-test": "^1.0.1",
31+
"nyholm/symfony-bundle-test": "^1.2.0",
3232
"cache/apc-adapter": "@stable",
3333
"cache/apcu-adapter": "@stable",
3434
"cache/array-adapter": "@stable",

src/Factory/PredisFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getAdapter(array $config)
3838
'scheme' => $config['scheme'],
3939
'host' => $config['host'],
4040
'port' => $config['port'],
41-
'persistent' => isset($config['persistent']) ? $config['persistent'] : false
41+
'persistent' => isset($config['persistent']) ? $config['persistent'] : false,
4242
]
4343
);
4444
} else {

0 commit comments

Comments
 (0)