| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 45 | 104 | public function mapGuzzleHttpClientConfig(): array |
|
| 46 | { |
||
| 47 | 104 | $config = []; |
|
| 48 | 104 | $config['base_uri'] = $this->endpoint; |
|
| 49 | 104 | $config['version'] = $this->version; |
|
| 50 | 104 | $config['allow_redirects'] = $this->allow_redirects; |
|
| 51 | 104 | $config['connect_timeout'] = $this->connect_timeout; |
|
| 52 | |||
| 53 | 104 | $config['auth'] = [ |
|
| 54 | 104 | $this->username, |
|
| 55 | 104 | $this->password, |
|
| 56 | ]; |
||
| 57 | 104 | $config['headers'] = [ |
|
| 58 | 104 | 'Connection' => $this->connection |
|
| 59 | ]; |
||
| 60 | 104 | return $config; |
|
| 61 | } |
||
| 63 |
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