| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 2 | #[Override] |
|
| 24 | public function init(string $channel = 'stu', int $level = LoggerEnum::LEVEL_INFO): void |
||
| 25 | { |
||
| 26 | 2 | $this->level = $level; |
|
| 27 | |||
| 28 | 2 | if ($this->checkDoLog()) { |
|
| 29 | 2 | $this->logger = new Logger($channel); |
|
| 30 | 2 | $this->logger->pushHandler( |
|
| 31 | 2 | new StreamHandler( |
|
| 32 | 2 | $this->stuConfig->getDebugSettings()->getLogfilePath() |
|
| 33 | 2 | ), |
|
| 75 |
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