Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
45 | public function item(string $subscribe_from) |
||
46 | { |
||
47 | $poll_id = Request::getInt('poll_id', 0); |
||
48 | switch ($subscribe_from) { |
||
49 | case 'index.php': |
||
50 | case 'pollresults.php': |
||
51 | return ['item_name' => 'poll_id', 'item_id' => $poll_id]; |
||
52 | } |
||
53 | |||
54 | return false; |
||
55 | } |
||
57 |
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