| Total Complexity | 8 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 4 | class FileLogger extends AbstractLogger |
||
|
|
|||
| 5 | { |
||
| 6 | protected $config = [ |
||
| 7 | 'save-path' => './logs', |
||
| 8 | 'max-file-size' => 2097152, |
||
| 9 | 'file-name' => 'latest.log', |
||
| 10 | ]; |
||
| 11 | |||
| 12 | protected $file; |
||
| 13 | |||
| 14 | public function __construct() |
||
| 15 | { |
||
| 16 | } |
||
| 17 | |||
| 18 | |||
| 19 | public function applyConfig(array $value) |
||
| 20 | { |
||
| 21 | } |
||
| 22 | |||
| 23 | public function log($level, string $message, array $context = []) |
||
| 25 | } |
||
| 26 | |||
| 27 | |||
| 28 | public function interpolate(string $message, array $context) |
||
| 39 |
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