| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function init(): void |
||
| 31 | { |
||
| 32 | // Current table as source of grid |
||
| 33 | $adapter = new SelectSource(); |
||
| 34 | $adapter->setSource(Table::select()); |
||
| 35 | |||
| 36 | $this->setAdapter($adapter); |
||
| 37 | $this->setDefaultLimit(25); |
||
| 38 | $this->setAllowFilters([ |
||
| 39 | 'id', |
||
| 40 | 'userId', |
||
| 41 | 'number', |
||
| 42 | 'status', |
||
| 43 | 'created', |
||
| 44 | 'updated', |
||
| 45 | ]); |
||
| 46 | $this->setAllowOrders([ |
||
| 47 | 'id', |
||
| 48 | 'userId', |
||
| 49 | 'number', |
||
| 50 | 'status', |
||
| 51 | 'created', |
||
| 52 | 'updated', |
||
| 53 | ]); |
||
| 56 |
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