| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function displayFileAccessHistory() |
||
| 38 | { |
||
| 39 | $grid = $this->add([ |
||
| 40 | 'CRUD', |
||
| 41 | 'quickSearch' => [ |
||
| 42 | 'accessed_by_user', 'action', 'ip_address', 'host_name' |
||
| 43 | ], |
||
| 44 | 'ipp' => 10 |
||
| 45 | ]); |
||
| 46 | |||
| 47 | $grid->addItemsPerPageSelector([10, 25, 50, 100], __('Items per page') . ':'); |
||
| 48 | |||
| 49 | $grid->setModel(FileAccessLog::create(['read_only' => true])->addCondition('file_id', $this->fileId)->setOrder('accessed_at', 'desc')); |
||
| 50 | |||
| 51 | $grid->addFilterColumn(); |
||
| 52 | } |
||
| 54 |
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