mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 14:16:42 +02:00
CS fixes
This commit is contained in:
@@ -24,7 +24,6 @@ use Monolog\Logger;
|
||||
*/
|
||||
class FleepHookHandler extends SocketHandler
|
||||
{
|
||||
|
||||
const FLEEP_HOST = 'fleep.io';
|
||||
|
||||
const FLEEP_HOOK_URI = '/hook/';
|
||||
@@ -67,7 +66,6 @@ class FleepHookHandler extends SocketHandler
|
||||
protected function getDefaultFormatter()
|
||||
{
|
||||
return new LineFormatter(null, null, true, true);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -81,7 +79,6 @@ class FleepHookHandler extends SocketHandler
|
||||
$this->closeSocket();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
@@ -95,7 +92,6 @@ class FleepHookHandler extends SocketHandler
|
||||
return $this->buildHeader($content) . $content;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Builds the header of the API Call
|
||||
*
|
||||
@@ -113,7 +109,6 @@ class FleepHookHandler extends SocketHandler
|
||||
return $header;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Builds the body of API call
|
||||
*
|
||||
@@ -128,5 +123,4 @@ class FleepHookHandler extends SocketHandler
|
||||
|
||||
return http_build_query($dataArray);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -16,9 +16,6 @@ use Monolog\Logger;
|
||||
use Monolog\TestCase;
|
||||
|
||||
/**
|
||||
* Unit tests for the FleepHookHandler
|
||||
*
|
||||
* @author Ando Roots <ando@sqroot.eu>
|
||||
* @coversDefaultClass \Monolog\Handler\FleepHookHandler
|
||||
*/
|
||||
class FleepHookHandlerTest extends TestCase
|
||||
|
Reference in New Issue
Block a user