mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +02:00
Yet another CS fix on SocketHandlerTest
This commit is contained in:
@@ -121,7 +121,8 @@ class SocketHandlerTest extends TestCase
|
||||
{
|
||||
$this->setMockHandler(array('fwrite'));
|
||||
|
||||
$callback = function($arg) {
|
||||
$callback = function($arg)
|
||||
{
|
||||
$map = array(
|
||||
'Hello world' => 6,
|
||||
'world' => false,
|
||||
@@ -143,7 +144,8 @@ class SocketHandlerTest extends TestCase
|
||||
{
|
||||
$this->setMockHandler(array('fwrite', 'stream_get_meta_data'));
|
||||
|
||||
$callback = function($arg) {
|
||||
$callback = function($arg)
|
||||
{
|
||||
$map = array(
|
||||
'Hello world' => 6,
|
||||
'world' => 5,
|
||||
@@ -170,7 +172,8 @@ class SocketHandlerTest extends TestCase
|
||||
$this->setMockHandler(array('fwrite', 'stream_get_meta_data'));
|
||||
|
||||
$res = $this->res;
|
||||
$callback = function($string) use ($res) {
|
||||
$callback = function($string) use ($res)
|
||||
{
|
||||
fclose($res);
|
||||
return strlen('Hello');
|
||||
};
|
||||
@@ -199,7 +202,8 @@ class SocketHandlerTest extends TestCase
|
||||
{
|
||||
$this->setMockHandler(array('fwrite'));
|
||||
|
||||
$callback = function($arg) {
|
||||
$callback = function($arg)
|
||||
{
|
||||
$map = array(
|
||||
'Hello world' => 6,
|
||||
'world' => 5,
|
||||
|
Reference in New Issue
Block a user