| Conditions | 2 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 6 | public function findClientData(string|int $id): ClientData |
|
| 23 | { |
||
| 24 | 6 | $query = $this->queryFactory->selectQuery()->select(['*'])->from('client')->where( |
|
| 25 | 6 | ['id' => $id] |
|
| 26 | 6 | ); |
|
| 27 | |||
| 28 | 6 | $clientRow = $query->execute()->fetch('assoc') ?: []; |
|
| 29 | |||
| 30 | 6 | return new ClientData($clientRow); |
|
| 31 | } |
||
| 33 |
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