| Conditions | 2 | 
| Paths | 4 | 
| Total Lines | 14 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 32 | public static function load(string $index = 'main') | ||
|  | |||
| 33 |     { | ||
| 34 |         self::$logger = new MonologLogger('core_logger'); | ||
| 35 | set_exception_handler(['static', 'exceptionHandler']); | ||
| 36 |         try { | ||
| 37 | $timeZone = RegionalInfo::$config['timezone']; | ||
| 38 | self::$logger->setTimezone( | ||
| 39 | new DateTimeZone($timeZone) | ||
| 40 | ); | ||
| 41 | self::$logger->pushHandler(new StreamHandler(CONFIGURATION_DIR . '/core.log', MonologLogger::DEBUG)); | ||
| 42 |         } catch (Exception $e) { | ||
| 43 | dump($e); | ||
| 44 | } | ||
| 45 | self::$logger->pushHandler(new FirePHPHandler()); | ||
| 46 | } | ||
| 74 | 
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.