src/Formatter/DefaultFormatter.php
Method format
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function format($level, $message, array $context, string $file, int $line, DateTime $time): string
{
return $this->processor->process($this->format, function($keyword) use($level, $message, $context, $file, $line, $time){
switch($keyword){
case 'LEVEL':
Method format
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function format($level, $message, array $context, string $file, int $line, DateTime $time): string