This commit is contained in:
Fabien Potencier 2015-08-24 08:32:52 +02:00
parent 1076a0f551
commit cbe6bc9ac4
3 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ class CommandTest extends \PHPUnit_Framework_TestCase
public function testErrorHandler()
{
$cmd = Command::create();
$handler = function() { return 'error-handler'; };
$handler = function () { return 'error-handler'; };
$cmd->setErrorHandler($handler);
$this->assertSame($handler, $cmd->getErrorHandler());

View File

@ -1479,7 +1479,7 @@ class Request
// Content passed in parameter (test)
if (is_string($this->content)) {
$resource = fopen('php://temp','r+');
$resource = fopen('php://temp', 'r+');
fwrite($resource, $this->content);
rewind($resource);

View File

@ -934,7 +934,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase
public function testContentAsResource()
{
$resource = fopen('php://memory','r+');
$resource = fopen('php://memory', 'r+');
fwrite($resource, 'My other content');
rewind($resource);