Ver código fonte

Apply last round of CS fixes.

Daniele Alessandri 8 anos atrás
pai
commit
1065edc8d1

+ 1 - 1
examples/debuggable_connection.php

@@ -36,7 +36,7 @@ class SimpleDebuggableConnection extends StreamConnection
         $firtsArg = $command->getArgument(0);
         $timestamp = round(microtime(true) - $this->tstart, 4);
 
-        $debug  = $command->getId();
+        $debug = $command->getId();
         $debug .= isset($firtsArg) ? " $firtsArg " : ' ';
         $debug .= "$direction $this";
         $debug .= " [{$timestamp}s]";

+ 8 - 8
examples/shared.php

@@ -23,22 +23,22 @@ function redis_version($info)
 }
 
 $single_server = array(
-    'host'     => '127.0.0.1',
-    'port'     => 6379,
+    'host' => '127.0.0.1',
+    'port' => 6379,
     'database' => 15,
 );
 
 $multiple_servers = array(
     array(
-       'host'     => '127.0.0.1',
-       'port'     => 6379,
+       'host' => '127.0.0.1',
+       'port' => 6379,
        'database' => 15,
-       'alias'    => 'first',
+       'alias' => 'first',
     ),
     array(
-       'host'     => '127.0.0.1',
-       'port'     => 6380,
+       'host' => '127.0.0.1',
+       'port' => 6380,
        'database' => 15,
-       'alias'    => 'second',
+       'alias' => 'second',
     ),
 );

+ 1 - 1
examples/transaction_using_cas.php

@@ -28,7 +28,7 @@ function zpop($client, $key)
 {
     $element = null;
     $options = array(
-        'cas'   => true,    // Initialize with support for CAS operations
+        'cas' => true,      // Initialize with support for CAS operations
         'watch' => $key,    // Key that needs to be WATCHed to detect changes
         'retry' => 3,       // Number of retries on aborted transactions, after
                             // which the client bails out with an exception.

+ 0 - 1
tests/Predis/Connection/Aggregate/PredisClusterTest.php

@@ -11,7 +11,6 @@
 
 namespace Predis\Connection\Aggregate;
 
-use Predis\Connection;
 use Predis\Profile;
 use PredisTestCase;