Run php-cs-fixer against codebase in src/ and tests/.

This commit is contained in:
Daniele Alessandri
2015-07-24 18:04:42 +02:00
parent bb89cf67e2
commit 6590c44a27
263 changed files with 2574 additions and 2403 deletions
@@ -56,26 +56,26 @@ class ProtocolProcessorTest extends PredisTestCase
$connection->expects($this->at(0))
->method('readLine')
->will($this->returnValue("+OK"));
->will($this->returnValue('+OK'));
$connection->expects($this->at(1))
->method('readLine')
->will($this->returnValue("-ERR error message"));
->will($this->returnValue('-ERR error message'));
$connection->expects($this->at(2))
->method('readLine')
->will($this->returnValue(":2"));
->will($this->returnValue(':2'));
$connection->expects($this->at(3))
->method('readLine')
->will($this->returnValue("$-1"));
->will($this->returnValue('$-1'));
$connection->expects($this->at(4))
->method('readLine')
->will($this->returnValue("*-1"));
->will($this->returnValue('*-1'));
$this->assertEquals('OK', $protocol->read($connection));
$this->assertEquals("ERR error message", $protocol->read($connection));
$this->assertEquals('ERR error message', $protocol->read($connection));
$this->assertSame(2, $protocol->read($connection));
$this->assertNull($protocol->read($connection));
$this->assertNull($protocol->read($connection));
@@ -93,7 +93,7 @@ class ProtocolProcessorTest extends PredisTestCase
$connection->expects($this->once(4))
->method('readLine')
->will($this->returnValue("*1"));
->will($this->returnValue('*1'));
$this->assertInstanceOf('Predis\Response\Iterator\MultiBulk', $protocol->read($connection));
}