1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-04 04:07:39 +02:00
This commit is contained in:
Jordi Boggiano
2016-03-01 18:12:45 +00:00
parent 3d87f3ce4f
commit f1091c3b97
9 changed files with 14 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ return Symfony\CS\Config::create()
'blank_line_before_return' => true, 'blank_line_before_return' => true,
'header_comment' => array('header' => $header), 'header_comment' => array('header' => $header),
'include' => true, 'include' => true,
'long_array_syntax' => true, 'long_array_syntax' => false,
'method_separation' => true, 'method_separation' => true,
'no_blank_lines_after_class_opening' => true, 'no_blank_lines_after_class_opening' => true,
'no_blank_lines_after_phpdoc' => true, 'no_blank_lines_after_phpdoc' => true,

View File

@@ -13,7 +13,6 @@ namespace Monolog;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel; use Psr\Log\LogLevel;
use Monolog\Handler\AbstractHandler;
/** /**
* Monolog error handler * Monolog error handler

View File

@@ -11,7 +11,6 @@
namespace Monolog\Handler; namespace Monolog\Handler;
use Monolog\Logger;
use Monolog\Formatter\FormatterInterface; use Monolog\Formatter\FormatterInterface;
use Monolog\Formatter\LineFormatter; use Monolog\Formatter\LineFormatter;

View File

@@ -11,8 +11,6 @@
namespace Monolog\Handler; namespace Monolog\Handler;
use Monolog\Logger;
/** /**
* Base Handler class providing basic close() support as well as handleBatch * Base Handler class providing basic close() support as well as handleBatch
* *

View File

@@ -29,8 +29,8 @@ interface ProcessableHandlerInterface
/** /**
* Removes the processor on top of the stack and returns it. * Removes the processor on top of the stack and returns it.
* *
* @return callable
* @throws LogicException In case the processor stack is empty * @throws LogicException In case the processor stack is empty
* @return callable
*/ */
public function popProcessor(): callable; public function popProcessor(): callable;
} }

View File

@@ -11,8 +11,6 @@
namespace Monolog\Handler; namespace Monolog\Handler;
use Monolog\Logger;
/** /**
* Helper trait for implementing ProcessableInterface * Helper trait for implementing ProcessableInterface
* *

View File

@@ -1,4 +1,14 @@
<?php <?php
/*
* This file is part of the Monolog package.
*
* (c) Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1); declare(strict_types=1);
/* /*
@@ -14,7 +24,6 @@ namespace Monolog;
use DateTimeZone; use DateTimeZone;
use Monolog\Handler\HandlerInterface; use Monolog\Handler\HandlerInterface;
use Monolog\Handler\StreamHandler;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
use Psr\Log\InvalidArgumentException; use Psr\Log\InvalidArgumentException;

View File

@@ -13,7 +13,6 @@ namespace Monolog\Handler;
use Monolog\TestCase; use Monolog\TestCase;
use Monolog\Logger; use Monolog\Logger;
use Monolog\Processor\WebProcessor;
class AbstractHandlerTest extends TestCase class AbstractHandlerTest extends TestCase
{ {