Jordi Boggiano 11 ani în urmă
părinte
comite
d7b0a0a20b

+ 0 - 1
src/Monolog/Handler/SamplingHandler.php

@@ -11,7 +11,6 @@
 
 namespace Monolog\Handler;
 
-use Monolog\Formatter\FormatterInterface;
 
 /**
  * Sampling handler

+ 1 - 0
tests/Monolog/Formatter/NormalizerFormatterTest.php

@@ -241,6 +241,7 @@ class TestStreamFoo
     public function __toString()
     {
         fseek($this->resource, 0);
+
         return $this->foo . ' - ' . (string) stream_get_contents($this->resource);
     }
 }

+ 2 - 2
tests/Monolog/Formatter/ScalarFormatterTest.php

@@ -39,7 +39,7 @@ class ScalarFormatterTest extends \PHPUnit_Framework_TestCase
             'foo' => 'string',
             'bar' => 1,
             'baz' => false,
-            'bam' => array(1,2,3),
+            'bam' => array(1, 2, 3),
             'bat' => array('foo' => 'bar'),
             'bap' => \DateTime::createFromFormat(\DateTime::ISO8601, '1970-01-01T00:00:00+0000'),
             'ban' => $exception
@@ -49,7 +49,7 @@ class ScalarFormatterTest extends \PHPUnit_Framework_TestCase
             'foo' => 'string',
             'bar' => 1,
             'baz' => false,
-            'bam' => $this->encodeJson(array(1,2,3)),
+            'bam' => $this->encodeJson(array(1, 2, 3)),
             'bat' => $this->encodeJson(array('foo' => 'bar')),
             'bap' => '1970-01-01 00:00:00',
             'ban' => $this->encodeJson(array(

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

@@ -12,7 +12,6 @@
 namespace Monolog\Handler;
 
 use Monolog\TestCase;
-use Monolog\Logger;
 
 /**
  * @covers Monolog\Handler\SamplingHandler::handle