| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 62.5% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class Plugin extends AbstractPlugin |
||
| 14 | { |
||
| 15 | public const HANDLER_ERROR_LOG = 'error_log'; |
||
| 16 | |||
| 17 | public const HANDLER_DEVELOPMENT = 'development'; |
||
| 18 | |||
| 19 | protected $events = ['plugins_loaded' => 'registerErrorHandler']; |
||
| 20 | |||
| 21 | protected $settings = [ |
||
| 22 | 'handler' => self::HANDLER_DEVELOPMENT, |
||
| 23 | 'editor' => null, |
||
| 24 | 'level' => -1, |
||
| 25 | 'error_log_file' => null |
||
| 26 | ]; |
||
| 27 | |||
| 28 | 34 | public function registerErrorHandler() |
|
| 43 |