Commit 72aae9e1 authored by Fabien Potencier's avatar Fabien Potencier

fixed CS

parent e4e0fef3
......@@ -149,7 +149,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
$app = new Application();
$app['pass'] = false;
$app->on('test', function(Event $e) use ($app) {
$app->on('test', function (Event $e) use ($app) {
$app['pass'] = true;
});
......@@ -383,7 +383,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
$app->get('/foo', function () use (&$containerTarget) {
$containerTarget[] = '1_routeTriggered';
return new StreamedResponse(function() use (&$containerTarget) {
return new StreamedResponse(function () use (&$containerTarget) {
$containerTarget[] = '3_responseSent';
});
});
......@@ -556,7 +556,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
ErrorHandler::register();
$app['monolog.logfile'] = 'php://memory';
$app->register(new MonologServiceProvider());
$app->get('/foo/', function() { return 'ok'; });
$app->get('/foo/', function () { return 'ok'; });
$response = $app->handle(Request::create('/foo'));
$this->assertEquals(301, $response->getStatusCode());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment