1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Yet another CS fix on SocketHandlerTest

This commit is contained in:
Pablo de Leon Belloc
2012-04-01 21:11:25 -03:00
parent a35db5bcdb
commit 8826a94041

View File

@@ -121,7 +121,8 @@ class SocketHandlerTest extends TestCase
{ {
$this->setMockHandler(array('fwrite')); $this->setMockHandler(array('fwrite'));
$callback = function($arg) { $callback = function($arg)
{
$map = array( $map = array(
'Hello world' => 6, 'Hello world' => 6,
'world' => false, 'world' => false,
@@ -143,7 +144,8 @@ class SocketHandlerTest extends TestCase
{ {
$this->setMockHandler(array('fwrite', 'stream_get_meta_data')); $this->setMockHandler(array('fwrite', 'stream_get_meta_data'));
$callback = function($arg) { $callback = function($arg)
{
$map = array( $map = array(
'Hello world' => 6, 'Hello world' => 6,
'world' => 5, 'world' => 5,
@@ -170,7 +172,8 @@ class SocketHandlerTest extends TestCase
$this->setMockHandler(array('fwrite', 'stream_get_meta_data')); $this->setMockHandler(array('fwrite', 'stream_get_meta_data'));
$res = $this->res; $res = $this->res;
$callback = function($string) use ($res) { $callback = function($string) use ($res)
{
fclose($res); fclose($res);
return strlen('Hello'); return strlen('Hello');
}; };
@@ -199,7 +202,8 @@ class SocketHandlerTest extends TestCase
{ {
$this->setMockHandler(array('fwrite')); $this->setMockHandler(array('fwrite'));
$callback = function($arg) { $callback = function($arg)
{
$map = array( $map = array(
'Hello world' => 6, 'Hello world' => 6,
'world' => 5, 'world' => 5,