mirror of
https://github.com/predis/predis.git
synced 2026-09-15 21:07:08 +00:00
Apply CS fixes.
This commit is contained in:
@@ -57,7 +57,6 @@ abstract class Factory implements FactoryInterface
|
||||
* @param string $commandID Command ID.
|
||||
*
|
||||
* @return string|null
|
||||
*
|
||||
*/
|
||||
public function getCommandClass($commandID)
|
||||
{
|
||||
|
||||
@@ -383,7 +383,7 @@ class ClientTest extends PredisTestCase
|
||||
*/
|
||||
public function testConstructorWithInvalidArgumentType()
|
||||
{
|
||||
$client = new Client(new \stdClass);
|
||||
$client = new Client(new \stdClass());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -393,7 +393,7 @@ class ClientTest extends PredisTestCase
|
||||
*/
|
||||
public function testConstructorWithInvalidOptionType()
|
||||
{
|
||||
$client = new Client('tcp://host1', new \stdClass);
|
||||
$client = new Client('tcp://host1', new \stdClass());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -55,7 +55,7 @@ class HashKeyTest extends PredisTestCase
|
||||
->method('hscan')
|
||||
->with('key:hash', 0, array())
|
||||
->will($this->returnValue(
|
||||
array(0, array()
|
||||
array(0, array(),
|
||||
)));
|
||||
|
||||
$iterator = new HashKey($client, 'key:hash');
|
||||
|
||||
@@ -51,7 +51,7 @@ class SLOWLOG_Test extends PredisCommandTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* This is the response type for SLOWLOG GET
|
||||
* This is the response type for SLOWLOG GET.
|
||||
*
|
||||
* @group disconnected
|
||||
*/
|
||||
@@ -73,7 +73,7 @@ class SLOWLOG_Test extends PredisCommandTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* This is the response type for SLOWLOG LEN
|
||||
* This is the response type for SLOWLOG LEN.
|
||||
*
|
||||
* @group disconnected
|
||||
*/
|
||||
|
||||
@@ -106,7 +106,6 @@ class ResponseReaderTest extends PredisTestCase
|
||||
*/
|
||||
public function testUnknownResponsePrefix()
|
||||
{
|
||||
|
||||
$connection = $this->getMockConnectionOfType('Predis\Connection\CompositeConnectionInterface', 'tcp://127.0.0.1:6379');
|
||||
$connection
|
||||
->expects($this->once())
|
||||
|
||||
Reference in New Issue
Block a user