Total Complexity | 1 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class webhookInfo extends types { |
||
|
|||
11 | /** Keep all of properties which has sub properties */ |
||
12 | private const subs = []; |
||
13 | |||
14 | /** Webhook URL, may be empty if webhook is not set up */ |
||
15 | public string $url; |
||
16 | |||
17 | /** True, if a custom certificate was provided for webhook certificate checks */ |
||
18 | public bool $has_custom_certificate; |
||
19 | |||
20 | /** Number of updates awaiting delivery */ |
||
21 | public int $pending_update_count; |
||
22 | |||
23 | /** Optional. Currently used webhook IP address */ |
||
24 | public string $ip_address; |
||
25 | |||
26 | /** Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook */ |
||
27 | public int $last_error_date; |
||
28 | |||
29 | /** |
||
30 | * Optional. Error message in human-readable format for the most recent error that happened when trying to |
||
31 | * deliver an update via webhook |
||
32 | */ |
||
33 | public string $last_error_message; |
||
34 | |||
35 | /** |
||
36 | * Optional. Unix time of the most recent error that happened when trying to synchronize available updates with |
||
37 | * Telegram datacenters |
||
38 | */ |
||
39 | public int $last_synchronization_error_date; |
||
40 | |||
41 | /** Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery */ |
||
42 | public int $max_connections; |
||
43 | |||
44 | /** Optional. A list of update types the bot is subscribed to. Defaults to all update types except chat_member */ |
||
45 | public array $allowed_updates; |
||
46 | |||
47 | |||
48 | public function __construct(stdClass $update) { |
||
52 |
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