Total Complexity | 1 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | class Locator |
||
9 | { |
||
10 | /* |
||
11 | * Private $access_key contains key to third party API - ipstack.com |
||
12 | */ |
||
13 | |||
14 | private $accessKey = "26ac05fc6257e7fc03c369cec5552b0a"; |
||
15 | |||
16 | /** |
||
17 | * calls ipstack with ip parameter |
||
18 | * |
||
19 | * @param string ipAddress |
||
|
|||
20 | * @return array |
||
21 | */ |
||
22 | 6 | public function getLocation($ipAddress) : array |
|
43 |
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