mirror of
https://github.com/predis/predis.git
synced 2026-10-08 04:46:38 +00:00
Run php-cs against test suite.
This commit is contained in:
@@ -118,7 +118,6 @@ class ReplicationStrategyTest extends PredisTestCase
|
||||
->method('getId')
|
||||
->will($this->returnValue('CMDTEST'));
|
||||
|
||||
|
||||
$strategy->setCommandReadOnly('CMDTEST', true);
|
||||
$this->assertTrue($strategy->isReadOperation($command));
|
||||
}
|
||||
@@ -135,7 +134,6 @@ class ReplicationStrategyTest extends PredisTestCase
|
||||
->method('getId')
|
||||
->will($this->returnValue('CMDTEST'));
|
||||
|
||||
|
||||
$strategy->setCommandReadOnly('CMDTEST', false);
|
||||
$this->assertFalse($strategy->isReadOperation($command));
|
||||
|
||||
@@ -235,7 +233,7 @@ class ReplicationStrategyTest extends PredisTestCase
|
||||
/**
|
||||
* Returns the list of expected supported commands.
|
||||
*
|
||||
* @param string $type Optional type of command (based on its keys)
|
||||
* @param string $type Optional type of command (based on its keys)
|
||||
* @return array
|
||||
*/
|
||||
protected function getExpectedCommands($type = null)
|
||||
|
||||
Reference in New Issue
Block a user