| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class AddressRepository extends BaseRepository |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | protected $fieldSearchable = [ |
||
| 26 | 'country_id', |
||
| 27 | 'type_id', |
||
| 28 | 'street', |
||
| 29 | 'street2', |
||
| 30 | 'city', |
||
| 31 | 'state', |
||
| 32 | 'postcode', |
||
| 33 | 'lat', |
||
| 34 | 'lng', |
||
| 35 | 'primary' |
||
| 36 | ]; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Return searchable fields. |
||
| 40 | * |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | public function getFieldsSearchable() |
||
| 44 | { |
||
| 45 | return $this->fieldSearchable; |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Configure the Model. |
||
| 50 | **/ |
||
| 51 | public function model() |
||
| 54 | } |
||
| 55 | } |
||
| 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