Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
33 | public function init(): void |
||
34 | { |
||
35 | 1 | // Setup source |
|
36 | 1 | $adapter = new SelectSource(); |
|
37 | $adapter->setSource(Table::select()); |
||
38 | 1 | ||
39 | 1 | $this->setAdapter($adapter); |
|
40 | 1 | $this->setDefaultLimit(25); |
|
41 | 1 | $this->setAllowOrders(['title', 'id', 'created', 'updated']); |
|
42 | 1 | $this->setAllowFilters(['title', 'alias', 'description', 'content', 'id']); |
|
43 | } |
||
45 |
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