Преглед на файлове

Make 2.6 the default server profile.

Daniele Alessandri преди 13 години
родител
ревизия
92697aa075
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      lib/Predis/Profile/ServerProfile.php
  2. 1 1
      tests/Predis/Profile/ServerProfileTest.php

+ 1 - 1
lib/Predis/Profile/ServerProfile.php

@@ -77,7 +77,7 @@ abstract class ServerProfile implements ServerProfileInterface, CommandProcessin
             '2.2'     => 'Predis\Profile\ServerVersion22',
             '2.4'     => 'Predis\Profile\ServerVersion24',
             '2.6'     => 'Predis\Profile\ServerVersion26',
-            'default' => 'Predis\Profile\ServerVersion24',
+            'default' => 'Predis\Profile\ServerVersion26',
             'dev'     => 'Predis\Profile\ServerVersionNext',
         );
     }

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

@@ -19,7 +19,7 @@ use Predis\Command\Processor\ProcessorChain;
  */
 class ServerProfileTest extends StandardTestCase
 {
-    const DEFAULT_PROFILE_VERSION = '2.4';
+    const DEFAULT_PROFILE_VERSION = '2.6';
     const DEVELOPMENT_PROFILE_VERSION = '2.8';
 
     /**