| Total Complexity | 4 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class QueriedModelUpdaterBuilder extends AbstractModelUpdaterBuilder |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Method on the repository to query for the model |
||
| 13 | */ |
||
| 14 | protected string $queryMethod; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Parameter name to on the request that contains repository query data |
||
| 18 | */ |
||
| 19 | protected string $lookup; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Place to look for repository query data in the request |
||
| 23 | */ |
||
| 24 | protected ServerRequestLocation $location; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return $this |
||
| 28 | */ |
||
| 29 | public function withQueryMethod(string $queryMethod): QueriedModelUpdaterBuilder |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return $this |
||
| 38 | */ |
||
| 39 | public function withLookup(string $lookup): QueriedModelUpdaterBuilder |
||
| 40 | { |
||
| 41 | $this->lookup = $lookup; |
||
| 42 | |||
| 43 | return $this; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return $this |
||
| 48 | */ |
||
| 49 | public function withLocation(?ServerRequestLocation $location): QueriedModelUpdaterBuilder |
||
| 54 | } |
||
| 55 | |||
| 56 | public function build(): QueriedModelUpdater |
||
| 70 |
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