Total Complexity | 6 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class GoogleMapsRequest { |
||
20 | |||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | private $params = []; |
||
25 | |||
26 | /** |
||
27 | * GoogleMapsRequest constructor. |
||
28 | * |
||
29 | * @param array $params |
||
30 | */ |
||
31 | public function __construct(array $params = []) { |
||
36 | } |
||
37 | } |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param string $param_name |
||
42 | * @param AbstractObject $param_value |
||
43 | * |
||
44 | * @return GoogleMapsRequest |
||
45 | */ |
||
46 | public function addParam(string $param_name, $param_value): GoogleMapsRequest { |
||
47 | |||
48 | $this->params[$param_name] = $param_value; |
||
49 | |||
50 | return $this; |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function getQuery(): string { |
||
65 | } |
||
66 | |||
67 | } |
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