src/Coralogix/Handlers/CoralogixMonologHandler.php
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
public function __construct(string $private_key = NULL, string $app_name = NULL, string $subsystem = NULL, $level = Logger::DEBUG, $bubble = true)
Avoid too many return
statements within this method. Wontfix
Wontfix
case 500: return Severity::CRITICAL; // CRITICAL
Avoid too many return
statements within this method. Wontfix
Wontfix
case 550: return Severity::CRITICAL; // ALERT
Avoid too many return
statements within this method. Wontfix
Wontfix
default: return Severity::DEBUG;
Avoid too many return
statements within this method. Wontfix
Wontfix
case 600: return Severity::CRITICAL; // EMERGENCY
Avoid too many return
statements within this method. Wontfix
Wontfix
case 400: return Severity::ERROR; // ERROR