Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
37 | public function item(string $subscribe_from) |
||
38 | { |
||
39 | xoops_load('XoopsRequest'); |
||
40 | $poll_id = XoopsRequest::getInt('poll_id', 0); |
||
41 | switch ($subscribe_from) { |
||
42 | case 'index.php': |
||
43 | case 'pollresults.php': |
||
44 | return ['item_name' => 'poll_id', 'item_id' => $poll_id]; |
||
45 | } |
||
46 | |||
47 | return false; |
||
48 | } |
||
50 |
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