| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 60 | protected function activate(string $logPath) |
||
| 61 | { |
||
| 62 | $logPath = \rtrim($logPath, '/\\') . '/'; |
||
| 63 | |||
| 64 | $this->activated = true; |
||
| 65 | $this->logger = new FileLogger($logPath . \date('Y-m-d') . $this->fileExtension); |
||
| 66 | |||
| 67 | $this->logger->setFormatter(new LineFormatter($this->logFormat ?? null)); |
||
| 68 | } |
||
| 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