| Total Complexity | 11 | 
| Total Lines | 57 | 
| Duplicated Lines | 0 % | 
| Changes | 3 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 10 | class ExceptionHandlerLog extends \Bitrix\Main\Diag\ExceptionHandlerLog { | ||
| 11 | |||
| 12 | /** | ||
| 13 | * @var Logger | ||
| 14 | */ | ||
| 15 | protected $logger; | ||
| 16 | /** | ||
| 17 | * @var callable | ||
| 18 | */ | ||
| 19 | protected $context; | ||
| 20 | |||
| 21 | /** | ||
| 22 |      * {@inheritdoc} | ||
| 23 | */ | ||
| 24 | public function initialize(array $options) | ||
| 25 |     { | ||
| 26 | if (isset($options['context']) && is_callable($options['context'])) | ||
| 27 |         { | ||
| 28 | $this->context = $options['context']; | ||
| 29 | } | ||
| 30 | } | ||
| 31 | |||
| 32 | /** | ||
| 33 |      * {@inheritdoc} | ||
| 34 | */ | ||
| 35 | public function write($exception, $logType) | ||
| 58 | } | ||
| 59 | } | ||
| 60 | |||
| 61 | /** | ||
| 62 | * @param \Exception $exception | ||
| 63 | */ | ||
| 64 | protected static function logInnerException(\Exception $exception) | ||
| 67 | } | ||
| 68 | } | 
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths