| Conditions | 3 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function paginateAccepted($datastore_id, $status = NULL, $limit = 25, $pageName = 'page', $page = null){ |
||
| 22 | $this->where('datastore2_id', $datastore_id)->with('datastore'); |
||
| 23 | |||
| 24 | $this->whereHas('datastore', function($query) use ($status) { |
||
| 25 | if($status){ |
||
| 26 | if(!is_array($status)){ |
||
| 27 | $status = [$status]; |
||
| 28 | } |
||
| 29 | $query->whereIn('status', $status); |
||
| 30 | } |
||
| 31 | }); |
||
| 32 | return $this->paginate($limit, ['*'], $pageName, $page); |
||
| 33 | } |
||
| 41 |
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