| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class LocationRepository extends BaseRepository |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Fields that can be searched by. |
||
| 23 | * |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | protected $fieldSearchable = [ |
||
| 27 | 'country_id', |
||
| 28 | 'tax_rate_id', |
||
| 29 | 'state', |
||
| 30 | 'city', |
||
| 31 | 'zip', |
||
| 32 | 'order', |
||
| 33 | ]; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Return searchable fields. |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function getFieldsSearchable() |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Configure the Model. |
||
| 47 | * |
||
| 48 | * @return \PWWEB\Localisation\Models\Tax\Location |
||
| 49 | **/ |
||
| 50 | public function model() |
||
| 55 |
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