Conditions | 8 |
Paths | 7 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
17 | public function run($request) |
||
18 | { |
||
19 | if (Director::isDev() || Director::is_cli()) { |
||
20 | $rows = DB::query('SHOW TABLES;'); |
||
21 | foreach ($rows as $row) { |
||
22 | if ($row) { |
||
23 | if (is_array($row)) { |
||
24 | foreach ($row as $db => $table) { |
||
25 | $this->deleteTable($table); |
||
26 | } |
||
27 | } else { |
||
28 | $table = $row['table'] ?? ''; |
||
29 | if ($table) { |
||
30 | $this->deleteTable($table); |
||
31 | } |
||
44 |
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