Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class poll |
||
13 | { |
||
14 | /** @var \blitze\sitemaker\services\poll */ |
||
|
|||
15 | protected $poll; |
||
16 | |||
17 | /** @var \blitze\sitemaker\services\template */ |
||
18 | protected $ptemplate; |
||
19 | |||
20 | /** |
||
21 | * Constructor |
||
22 | * |
||
23 | * @param \blitze\sitemaker\services\poll $poll Poll Object |
||
24 | * @param \blitze\sitemaker\services\template $ptemplate Sitemaker Template Object |
||
25 | */ |
||
26 | public function __construct(\blitze\sitemaker\services\poll $poll, \blitze\sitemaker\services\template $ptemplate) |
||
27 | { |
||
28 | $this->poll = $poll; |
||
29 | $this->ptemplate = $ptemplate; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @param array $topic_data |
||
34 | * @return string |
||
35 | */ |
||
36 | public function display(array $topic_data) |
||
47 | } |
||
48 | } |
||
49 |
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