소스 검색

Switch to "3.0" as the default server profile.

Redis 3.0 does not really change much in terms of commands (most of
the ones implemented in the "unstable" branch have been backported to
the "2.8" branch after all) aside from a few cluster-related ones, so
we can bump the default version without worries.
Daniele Alessandri 10 년 전
부모
커밋
b6389e4a03
4개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      CHANGELOG.md
  2. 1 1
      phpunit.xml.dist
  3. 1 1
      src/Profile/Factory.php
  4. 1 1
      tests/Predis/Profile/FactoryTest.php

+ 1 - 1
CHANGELOG.md

@@ -3,7 +3,7 @@ v1.0.0 (201x-xx-xx)
 
 - Switched to PSR-4 for autoloading.
 
-- The default server profile for Redis is `2.8`.
+- The default server profile for Redis is `3.0`.
 
 - Removed server profile for Redis 1.2.
 

+ 1 - 1
phpunit.xml.dist

@@ -27,7 +27,7 @@
 
     <php>
         <!-- Redis -->
-        <const name="REDIS_SERVER_VERSION" value="2.8" />
+        <const name="REDIS_SERVER_VERSION" value="3.0" />
         <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
         '2.6'     => 'Predis\Profile\RedisVersion260',
         '2.8'     => 'Predis\Profile\RedisVersion280',
         '3.0'     => 'Predis\Profile\RedisVersion300',
-        'default' => 'Predis\Profile\RedisVersion280',
+        'default' => 'Predis\Profile\RedisVersion300',
         'dev'     => 'Predis\Profile\RedisUnstable',
     );
 

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

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