| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class Cli extends Processor |
||
| 20 | { |
||
| 21 | /** @var string Message format */ |
||
| 22 | protected $format = '> [timestamp][levelname] - message'; |
||
| 23 | |||
| 24 | /** @var bool */ |
||
| 25 | private $buffer; |
||
| 26 | |||
| 27 | 1 | public function __construct(array $settings) |
|
| 28 | { |
||
| 29 | 1 | parent::__construct($settings); |
|
| 30 | 1 | $this->buffer = defined('STDERR'); |
|
| 31 | 1 | } |
|
| 32 | |||
| 33 | 1 | protected function parse(array $message): void |
|
| 37 | } |
||
| 38 | 1 | } |
|
| 40 |