Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
53 | public static function exceptionHandler($e): void |
||
54 | { |
||
55 | FlashMessages::setError($e->getMessage()); |
||
56 | dump($e); |
||
57 | self::$logger->error( |
||
58 | 'Exception [' . $e->getCode() . ']: ' . $e->getMessage() . PHP_EOL |
||
59 | . $e->getFile() . ':' . $e->getLine() . PHP_EOL |
||
60 | . $e->getTraceAsString() |
||
61 | ); |
||
74 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.