| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | trait LogsToFile |
||
| 28 | { |
||
| 29 | /** @var bool */ |
||
| 30 | protected $activated = false; |
||
| 31 | |||
| 32 | /** @var FileLogger */ |
||
| 33 | protected $logger; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Log the given message and level. Interpolates message if applicable from context. |
||
| 37 | * |
||
| 38 | * @param string $message |
||
| 39 | * @param int $level |
||
| 40 | * @param array $context |
||
| 41 | * |
||
| 42 | * @return void |
||
| 43 | */ |
||
| 44 | public function log(string $message, int $level = Logger::DEBUG, array $context = []) |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Activate the logger. |
||
| 55 | * |
||
| 56 | * @param string $logPath |
||
| 57 | * |
||
| 58 | * @return void |
||
| 59 | */ |
||
| 60 | protected function activate(string $logPath) |
||
| 70 |
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