Total Complexity | 7 |
Total Lines | 64 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class Widget implements IWidget |
||
20 | { |
||
21 | |||
22 | /** @var IURLGenerator */ |
||
23 | private $url; |
||
24 | /** @var IL10N */ |
||
25 | private $l10n; |
||
26 | |||
27 | public function __construct( |
||
28 | IURLGenerator $url, |
||
29 | IL10N $l10n |
||
30 | ) |
||
31 | { |
||
32 | $this->url = $url; |
||
33 | $this->l10n = $l10n; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @inheritDoc |
||
38 | */ |
||
39 | public function getId(): string |
||
40 | { |
||
41 | return 'audioplayer'; |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @inheritDoc |
||
46 | */ |
||
47 | public function getTitle(): string |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @inheritDoc |
||
54 | */ |
||
55 | public function getOrder(): int |
||
58 | } |
||
59 | |||
60 | /** |
||
61 | * @inheritDoc |
||
62 | */ |
||
63 | public function getIconClass(): string |
||
64 | { |
||
65 | return 'icon-audioplayer'; |
||
66 | } |
||
67 | |||
68 | /** |
||
69 | * @inheritDoc |
||
70 | */ |
||
71 | public function getUrl(): ?string |
||
74 | } |
||
75 | |||
76 | /** |
||
77 | * @inheritDoc |
||
78 | */ |
||
79 | public function load(): void |
||
83 | } |
||
84 | } |
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