Showing 7 of 16 total issues
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 __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct($level, string $message, array $context, string $file, int $line, DateTime $time)
Method addMessage
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function addMessage($level, string $message, array $context, string $file, int $line, DateTime $time)
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;
Method writeln
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function writeln($level, $message, $context, $file, $line, DateTime $time)
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
Method format
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function format($level, $message, array $context, string $file, int $line): string