| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 4 | #[Override] |
|
| 24 | public function initRotating(LoggerTypeEnum $type): void |
||
| 25 | { |
||
| 26 | 4 | $this->logger = new Logger($type->value); |
|
| 27 | 4 | $this->logger->pushHandler( |
|
| 28 | 4 | new RotatingFileHandler( |
|
| 29 | 4 | sprintf( |
|
| 30 | 4 | '%s/%2$s/%2$s.log', |
|
| 31 | 4 | $this->config->get('debug.logging.log_dir'), |
|
| 32 | 4 | $type->value |
|
| 33 | 4 | ) |
|
| 56 |
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