| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Client extends Connection { |
||
| 8 | |||
| 9 | private $client = '/client'; |
||
| 10 | private $api = '/api'; |
||
| 11 | private $v2 = '/v2'; |
||
| 12 | |||
| 13 | private $headers = [ |
||
| 14 | 'content-type' => 'application/json' |
||
| 15 | ]; |
||
| 16 | |||
| 17 | |||
| 18 | public function check() { |
||
| 19 | try { |
||
| 20 | $request = $this->get(); |
||
| 21 | } catch (Exception $e) { |
||
| 22 | return false; |
||
| 23 | } |
||
| 24 | return true; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function get() { |
||
| 43 | } |
||
| 44 | } |
||
| 45 |
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