| Total Complexity | 8 | 
| Total Lines | 62 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 8 | class SixConnexCall implements CallBody | ||
| 9 | { | ||
| 10 | public static string $typeParameter = '_apicall'; | ||
| 11 | |||
| 12 | protected string $type; | ||
| 13 | protected array $options; | ||
| 14 | |||
| 15 | 8 | public function __construct(array $options = [], ?string $type = null) | |
| 16 |     { | ||
| 17 | 8 | $this->options = $options; | |
| 18 | 8 | $this->setApiCall($type ?? static::TYPE_READ); | |
| 19 | } | ||
| 20 | |||
| 21 | 8 | public function setApiCall(string $type = 'read'): self | |
| 35 | } | ||
| 36 | |||
| 37 | 1 | public function options(): array | |
| 40 | } | ||
| 41 | |||
| 42 | /** | ||
| 43 | * @param $key | ||
| 44 | * @param null $value | ||
| 45 | * | ||
| 46 | * @return $this | ||
| 47 | */ | ||
| 48 | 5 | public function addOption($key, $value = null): self | |
| 49 |     { | ||
| 50 | 5 |         if (is_array($key)) { | |
| 51 | 2 | $this->options = array_merge($this->options, $key); | |
| 52 |         } else { | ||
| 53 | 4 | $this->options[ $key ] = $value; | |
| 54 | } | ||
| 55 | |||
| 56 | 5 | return $this; | |
| 57 | } | ||
| 58 | |||
| 59 | 1 | public function overrideOptions(array $options): self | |
| 60 |     { | ||
| 61 | 1 | $this->options = $options; | |
| 62 | |||
| 63 | 1 | return $this; | |
| 64 | } | ||
| 65 | |||
| 66 | 4 | public function getCallBody(): array | |
| 70 | 4 | ]); | |
| 71 | } | ||
| 72 | } | ||
| 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