Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class filters implements EventSubscriberInterface |
||
15 | { |
||
16 | /** @var \blitze\sitemaker\services\date_range */ |
||
|
|||
17 | protected $date_range; |
||
18 | |||
19 | /** |
||
20 | * Constructor |
||
21 | * |
||
22 | * @param \blitze\sitemaker\services\date_range $date_range Date Range Object |
||
23 | */ |
||
24 | public function __construct(\blitze\sitemaker\services\date_range $date_range) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return array |
||
31 | */ |
||
32 | public static function getSubscribedEvents() |
||
33 | { |
||
34 | return array( |
||
35 | 'blitze.content.view.filter' => 'archive_filter', |
||
36 | ); |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @param \phpbb\event\data $event |
||
41 | * @return void |
||
42 | */ |
||
43 | public function archive_filter(\phpbb\event\data $event) |
||
54 | } |
||
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