Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function getChanges(string $version): WhatsNewResult |
||
36 | { |
||
37 | /* @var $qb IQueryBuilder */ |
||
38 | $qb = $this->db->getQueryBuilder(); |
||
39 | $result = $qb->select('*') |
||
40 | ->from(self::TABLE_NAME) |
||
41 | ->where($qb->expr()->eq('version', $qb->createNamedParameter($version))) |
||
42 | ->execute(); |
||
43 | |||
44 | $data = $result->fetch(); |
||
45 | $result->closeCursor(); |
||
46 | if ($data === false) { |
||
47 | throw new DoesNotExistException('Changes info is not present'); |
||
48 | } |
||
49 | return WhatsNewResult::fromRow($data); |
||
50 | } |
||
51 | } |
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