Jordi Boggiano 12 years ago
parent
commit
3f8c37b23c

+ 2 - 2
src/Monolog/Handler/RavenHandler.php

@@ -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)
     {

+ 6 - 6
src/Monolog/Handler/ZendMonitorHandler.php

@@ -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)
     {

+ 1 - 1
src/Monolog/Processor/UidProcessor.php

@@ -35,4 +35,4 @@ class UidProcessor
 
         return $record;
     }
-}
+}

+ 2 - 3
tests/Monolog/Handler/NativeMailerHandlerTest.php

@@ -11,7 +11,6 @@
 
 namespace Monolog\Handler;
 
-use Monolog\Logger;
 use Monolog\TestCase;
 
 class NativeMailerHandlerTest extends TestCase
@@ -23,7 +22,7 @@ class NativeMailerHandlerTest extends TestCase
     {
         $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', "receiver@example.org\r\nFrom: faked@attacker.org");
     }
-    
+
     /**
      * @expectedException InvalidArgumentException
      */
@@ -32,7 +31,7 @@ class NativeMailerHandlerTest extends TestCase
         $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');
         $mailer->addHeader("Content-Type: text/html\r\nFrom: faked@attacker.org");
     }
-    
+
     /**
      * @expectedException InvalidArgumentException
      */

+ 2 - 0
tests/Monolog/Handler/RavenHandlerTest.php

@@ -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);
     }
 

+ 0 - 1
tests/Monolog/Handler/ZendMonitorHandlerTest.php

@@ -10,7 +10,6 @@
 
 namespace Monolog\Handler;
 
-use Monolog\Logger;
 use Monolog\TestCase;
 
 class ZendMonitorHandlerTest extends TestCase