Browse Source

Bump default server profile to Redis 3.2.

Daniele Alessandri 8 years ago
parent
commit
9398a793a5
5 changed files with 6 additions and 4 deletions
  1. 2 0
      CHANGELOG.md
  2. 1 1
      phpunit.xml.dist
  3. 1 1
      phpunit.xml.travisci
  4. 1 1
      src/Profile/Factory.php
  5. 1 1
      tests/Predis/Profile/FactoryTest.php

+ 2 - 0
CHANGELOG.md

@@ -1,6 +1,8 @@
 v1.1.0 (2016-0x-xx)
 ================================================================================
 
+- Bumped the default server profile used by the client to Redis 3.2.
+
 - Responses to the following commands are not casted into booleans anymore, the
   original integer value is returned: `SETNX`, `MSETNX`, `SMOVE`, `SISMEMBER`,
   `HSET`, `HSETNX`, `HEXISTS`, `PFADD`, `EXISTS`, `MOVE`, `PERSIST`, `EXPIRE`,

+ 1 - 1
phpunit.xml.dist

@@ -38,7 +38,7 @@
 
     <php>
         <!-- Redis -->
-        <const name="REDIS_SERVER_VERSION" value="2.8" />
+        <const name="REDIS_SERVER_VERSION" value="3.2" />
         <const name="REDIS_SERVER_HOST" value="127.0.0.1" />
         <const name="REDIS_SERVER_PORT" value="6379" />
         <const name="REDIS_SERVER_DBNUM" value="15" />

+ 1 - 1
phpunit.xml.travisci

@@ -42,7 +42,7 @@
 
     <php>
         <!-- Redis -->
-        <const name="REDIS_SERVER_VERSION" value="2.8" />
+        <const name="REDIS_SERVER_VERSION" value="3.2" />
         <const name="REDIS_SERVER_HOST" value="127.0.0.1" />
         <const name="REDIS_SERVER_PORT" value="6379" />
         <const name="REDIS_SERVER_DBNUM" value="15" />

+ 1 - 1
src/Profile/Factory.php

@@ -29,7 +29,7 @@ final class Factory
         '3.0' => 'Predis\Profile\RedisVersion300',
         '3.2' => 'Predis\Profile\RedisVersion320',
         'dev' => 'Predis\Profile\RedisUnstable',
-        'default' => 'Predis\Profile\RedisVersion300',
+        'default' => 'Predis\Profile\RedisVersion320',
     );
 
     /**

+ 1 - 1
tests/Predis/Profile/FactoryTest.php

@@ -18,7 +18,7 @@ use PredisTestCase;
  */
 class FactoryTest extends PredisTestCase
 {
-    const DEFAULT_PROFILE_VERSION = '3.0';
+    const DEFAULT_PROFILE_VERSION = '3.2';
     const DEVELOPMENT_PROFILE_VERSION = '3.2';
 
     /**