| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | public function run($request) |
||
| 23 | { |
||
| 24 | $this->request = $request; |
||
| 25 | |||
| 26 | $permissions = Permission::get_codes(true); |
||
| 27 | |||
| 28 | $other = $permissions['Other']; |
||
| 29 | foreach ($other as $k => $infos) { |
||
| 30 | DB::prepared_query("DELETE FROM Permission WHERE Code = ?", [$k]); |
||
| 31 | DB::alteration_message("Deleting $k"); |
||
| 32 | } |
||
| 33 | |||
| 34 | DB::alteration_message('All done!'); |
||
| 35 | } |
||
| 37 |
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