Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | final class MessageSender |
||
14 | { |
||
15 | /** |
||
16 | * @var TelegramApiInterface |
||
17 | */ |
||
18 | private $api; |
||
19 | |||
20 | public function __construct(TelegramApiInterface $api) |
||
21 | { |
||
22 | $this->api = $api; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @throws PeerMessageSendException |
||
27 | */ |
||
28 | public function send(string $search, string $messageContent): void |
||
33 | ); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @throws PeerMessageSendException |
||
38 | */ |
||
39 | private function findPeer(string $search): PeerInterface |
||
46 | ); |
||
47 | } |
||
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