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