| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function item($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 | break; |
||
| 46 | } |
||
| 47 | |||
| 48 | return false; |
||
| 49 | } |
||
| 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