mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 12:47:39 +02:00
CS fixer
This commit is contained in:
@@ -45,8 +45,8 @@ class RavenHandler extends AbstractProcessingHandler
|
||||
|
||||
/**
|
||||
* @param Raven_Client $ravenClient
|
||||
* @param integer $level The minimum logging level at which this handler will be triggered
|
||||
* @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
|
||||
* @param integer $level The minimum logging level at which this handler will be triggered
|
||||
* @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
|
||||
*/
|
||||
public function __construct(Raven_Client $ravenClient, $level = Logger::DEBUG, $bubble = true)
|
||||
{
|
||||
|
@@ -39,9 +39,9 @@ class ZendMonitorHandler extends AbstractProcessingHandler
|
||||
/**
|
||||
* Construct
|
||||
*
|
||||
* @param int $level
|
||||
* @param bool $bubble
|
||||
* @throws MissingExtensionException
|
||||
* @param int $level
|
||||
* @param bool $bubble
|
||||
* @throws MissingExtensionException
|
||||
*/
|
||||
public function __construct($level = Logger::DEBUG, $bubble = true)
|
||||
{
|
||||
@@ -66,9 +66,9 @@ class ZendMonitorHandler extends AbstractProcessingHandler
|
||||
/**
|
||||
* Write a record to Zend Monitor
|
||||
*
|
||||
* @param int $level
|
||||
* @param string $message
|
||||
* @param array $formatted
|
||||
* @param int $level
|
||||
* @param string $message
|
||||
* @param array $formatted
|
||||
*/
|
||||
protected function writeZendMonitorCustomEvent($level, $message, $formatted)
|
||||
{
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Monolog\Handler;
|
||||
|
||||
use Monolog\Logger;
|
||||
use Monolog\TestCase;
|
||||
|
||||
class NativeMailerHandlerTest extends TestCase
|
||||
|
@@ -38,12 +38,14 @@ class RavenHandlerTest extends TestCase
|
||||
protected function getHandler($ravenClient)
|
||||
{
|
||||
$handler = new RavenHandler($ravenClient);
|
||||
|
||||
return $handler;
|
||||
}
|
||||
|
||||
protected function getRavenClient()
|
||||
{
|
||||
$dsn = 'http://43f6017361224d098402974103bfc53d:a6a0538fc2934ba2bed32e08741b2cd3@marca.python.live.cheggnet.com:9000/1';
|
||||
|
||||
return new MockRavenClient($dsn);
|
||||
}
|
||||
|
||||
|
@@ -10,7 +10,6 @@
|
||||
|
||||
namespace Monolog\Handler;
|
||||
|
||||
use Monolog\Logger;
|
||||
use Monolog\TestCase;
|
||||
|
||||
class ZendMonitorHandlerTest extends TestCase
|
||||
|
Reference in New Issue
Block a user