| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 14 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 11 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 21 | 8 | public function setApiCall(string $type = 'read'): self | |
| 22 |     { | ||
| 23 | 8 | if (!in_array($type, [ | |
| 24 | 8 | static::TYPE_READ, | |
| 25 | 8 | static::TYPE_READALL, | |
| 26 | 8 | static::TYPE_CREATE, | |
| 27 | 8 | static::TYPE_UPDATE, | |
| 28 | 8 | static::TYPE_DELETE, | |
| 29 | 8 |         ])) { | |
| 30 | 1 |             throw new SixConnexException('Not valid ' . static::$typeParameter); | |
| 31 | } | ||
| 32 | 8 | $this->type = $type; | |
| 33 | |||
| 34 | 8 | return $this; | |
| 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