| Conditions | 3 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function count(array $where = []) { |
||
| 33 | $sql = $this->createQueryBuilder('data'); |
||
| 34 | $sql->select('COUNT(data)'); |
||
| 35 | if (sizeof($where)) { |
||
| 36 | foreach ($where as $key => $value) { |
||
| 37 | $sql->andWhere('data.' . $key . ' = :' . $key); |
||
| 38 | $sql->setParameter($key, $value); |
||
| 39 | } |
||
| 40 | } |
||
| 41 | |||
| 42 | return $sql->getQuery()->getSingleScalarResult(); |
||
| 43 | } |
||
| 46 |
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