| Total Complexity | 3 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class ConsoleLog extends LogOutputAbstract{ |
||
| 18 | |||
| 19 | protected function __log(string $level, string $message, array $context = null){ |
||
| 20 | echo $this->message($level, $message, $context); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function close():LogOutputInterface{ |
||
| 24 | echo $this->message('log closed', '~~~'); |
||
| 25 | |||
| 26 | return $this; |
||
| 27 | } |
||
| 28 | |||
| 29 | protected function message(string $level, string $message, array $context = null){ |
||
| 31 | } |
||
| 32 | } |
||
| 33 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.