| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 16 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 16 | public function __construct( | ||
| 17 | object $repository, | ||
| 18 | string $queryMethod, | ||
| 19 | string $getMethod, | ||
| 20 | string $setMethod, | ||
| 21 | string $lookup, | ||
| 22 | ?ServerRequestLocation $location = null, | ||
| 23 | ?string $updateMethod = null | ||
| 24 |     ) { | ||
| 25 | $this->repository = $repository; | ||
| 26 | $this->queryMethod = $queryMethod; | ||
| 27 | $this->getMethod = $getMethod; | ||
| 28 | $this->setMethod = $setMethod; | ||
| 29 | $this->lookup = $lookup; | ||
| 30 | $this->location = $location ?? ServerRequestLocation::Attribute(); | ||
| 31 | $this->updateMethod = $updateMethod; | ||
| 32 | } | ||
| 34 | 
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