Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class CurrencyRepository extends BaseRepository |
||
21 | { |
||
22 | /** |
||
23 | * @var array |
||
24 | */ |
||
25 | protected $fieldSearchable = [ |
||
26 | 'name', |
||
27 | 'iso', |
||
28 | 'numeric_code', |
||
29 | 'entity_code', |
||
30 | 'active', |
||
31 | 'standard' |
||
32 | ]; |
||
33 | |||
34 | /** |
||
35 | * Return searchable fields. |
||
36 | * |
||
37 | * @return array |
||
38 | */ |
||
39 | public function getFieldsSearchable() |
||
40 | { |
||
41 | return $this->fieldSearchable; |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * Configure the Model. |
||
46 | **/ |
||
47 | public function model() |
||
50 | } |
||
51 | } |
||
52 |
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