| Conditions | 3 |
| Paths | 3 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 68 | private function removeOldFilesByIntervalDays(): void |
||
| 69 | { |
||
| 70 | $time_before = time() - $this->params['days_interval'] * 86400; |
||
| 71 | foreach ($this->files as $file) { |
||
| 72 | $f = explode('-', $file); |
||
| 73 | $f = str_replace('.sql', '', $f); |
||
| 74 | if ($f[1] < $time_before) { |
||
| 75 | @unlink($this->params['files_path'] . '/' . $file); |
||
| 76 | } |
||
| 80 |
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