diff --git a/examples/debuggable_connection.php b/examples/debuggable_connection.php index 1a30b027..346b0035 100644 --- a/examples/debuggable_connection.php +++ b/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]"; diff --git a/examples/shared.php b/examples/shared.php index 00e3faf9..b65c9d3f 100644 --- a/examples/shared.php +++ b/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', ), ); diff --git a/examples/transaction_using_cas.php b/examples/transaction_using_cas.php index 68bc4676..f72c4655 100644 --- a/examples/transaction_using_cas.php +++ b/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. diff --git a/tests/Predis/Connection/Aggregate/PredisClusterTest.php b/tests/Predis/Connection/Aggregate/PredisClusterTest.php index 9dd3d086..faefc9b4 100644 --- a/tests/Predis/Connection/Aggregate/PredisClusterTest.php +++ b/tests/Predis/Connection/Aggregate/PredisClusterTest.php @@ -11,7 +11,6 @@ namespace Predis\Connection\Aggregate; -use Predis\Connection; use Predis\Profile; use PredisTestCase;