Browse Source

Run php-cs-fixer.

Daniele Alessandri 8 năm trước cách đây
mục cha
commit
f9e817f14c

+ 1 - 1
tests/Predis/Collection/Iterator/HashKeyTest.php

@@ -72,7 +72,7 @@ class HashKeyTest extends PredisTestCase
                ->method('hscan')
                ->with('key:hash', 0, array())
                ->will($this->returnValue(array(0, array(
-                    1 => 'a', 2 => 'b', 3 => 100, 'foo' => 'bar'
+                    1 => 'a', 2 => 'b', 3 => 100, 'foo' => 'bar',
                ))));
 
         $iterator = new HashKey($client, 'key:hash');

+ 1 - 1
tests/Predis/Connection/Aggregate/RedisClusterTest.php

@@ -507,7 +507,7 @@ class RedisClusterTest extends PredisTestCase
                         'GET', array('node:1001')
                     ))
                     ->will($this->throwException(
-                        new Connection\ConnectionException($connection1, "Unknown connection error [127.0.0.1:6382]")
+                        new Connection\ConnectionException($connection1, 'Unknown connection error [127.0.0.1:6382]')
                     ));
 
         $connection2 = $this->getMockConnection('tcp://127.0.0.1:6382');

+ 0 - 1
tests/Predis/Protocol/Text/RequestSerializerTest.php

@@ -83,5 +83,4 @@ class RequestSerializerTest extends PredisTestCase
 
         $this->assertSame("*3\r\n$3\r\nDEL\r\n$5\r\nkey:1\r\n$5\r\nkey:2\r\n", $result);
     }
-
 }