| Conditions | 2 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | public function get() { |
||
| 23 | try { |
||
| 24 | $url = $this->endpoint . $this->api . $this->v2 . $this->organisation; |
||
| 25 | $request = $this->getClient()->get($url, [ |
||
| 26 | 'auth' => $this->getAuth(), |
||
| 27 | 'headers' => [ |
||
| 28 | 'content-type' => 'application/json' |
||
| 29 | ], |
||
| 30 | ]); |
||
| 31 | $response = $request->json(); |
||
| 32 | return $response; |
||
| 33 | } catch (Exception $e) { |
||
| 34 | return false; |
||
| 35 | } |
||
| 73 |
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