fixed CS
This commit is contained in:
parent
1076a0f551
commit
cbe6bc9ac4
|
@ -133,7 +133,7 @@ class CommandTest extends \PHPUnit_Framework_TestCase
|
||||||
public function testErrorHandler()
|
public function testErrorHandler()
|
||||||
{
|
{
|
||||||
$cmd = Command::create();
|
$cmd = Command::create();
|
||||||
$handler = function() { return 'error-handler'; };
|
$handler = function () { return 'error-handler'; };
|
||||||
$cmd->setErrorHandler($handler);
|
$cmd->setErrorHandler($handler);
|
||||||
|
|
||||||
$this->assertSame($handler, $cmd->getErrorHandler());
|
$this->assertSame($handler, $cmd->getErrorHandler());
|
||||||
|
|
|
@ -1479,7 +1479,7 @@ class Request
|
||||||
|
|
||||||
// Content passed in parameter (test)
|
// Content passed in parameter (test)
|
||||||
if (is_string($this->content)) {
|
if (is_string($this->content)) {
|
||||||
$resource = fopen('php://temp','r+');
|
$resource = fopen('php://temp', 'r+');
|
||||||
fwrite($resource, $this->content);
|
fwrite($resource, $this->content);
|
||||||
rewind($resource);
|
rewind($resource);
|
||||||
|
|
||||||
|
|
|
@ -934,7 +934,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase
|
||||||
|
|
||||||
public function testContentAsResource()
|
public function testContentAsResource()
|
||||||
{
|
{
|
||||||
$resource = fopen('php://memory','r+');
|
$resource = fopen('php://memory', 'r+');
|
||||||
fwrite($resource, 'My other content');
|
fwrite($resource, 'My other content');
|
||||||
rewind($resource);
|
rewind($resource);
|
||||||
|
|
||||||
|
|
Reference in New Issue