src/Handlers/ConsoleErrorHandler.php
Showing 1 of 1 total issue
Function renderExeption
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
Open
protected function renderExeption(\Exception $exception) { $message = $exception->getMessage(); if ($code = $exception->getCode()) { $message = sprintf('[%s] %s', $code, $message);
- Read upRead up