Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class inlineQueryResultsButton extends types { |
||
|
|||
12 | /** Keep all properties which has sub properties */ |
||
13 | private const subs = ['web_app' => 'BPT\types\webAppInfo']; |
||
14 | |||
15 | /** Label text on the button */ |
||
16 | public string $text; |
||
17 | |||
18 | /** |
||
19 | * Optional. Description of the Web App that will be launched when the user presses the button. The Web App will |
||
20 | * be able to switch back to the inline mode using the method switchInlineQuery inside the Web App. |
||
21 | */ |
||
22 | public webAppInfo $web_app; |
||
23 | |||
24 | /** |
||
25 | * Optional. Deep-linking parameter for the /start message sent to the bot when a user presses the button. 1-64 |
||
26 | * characters, only A-Z, a-z, 0-9, _ and - are allowed.Example: An inline bot that sends YouTube videos can ask |
||
27 | * the user to connect the bot to their YouTube account to adapt search results accordingly. To do this, it |
||
28 | * displays a 'Connect your YouTube account' button above the results, or even before showing any. The user |
||
29 | * presses the button, switches to a private chat with the bot and, in doing so, passes a start parameter that |
||
30 | * instructs the bot to return an OAuth link. Once done, the bot can offer a switch_inline button so that the |
||
31 | * user can easily return to the chat where they wanted to use the bot's inline capabilities. |
||
32 | */ |
||
33 | public string $start_parameter; |
||
34 | |||
35 | |||
36 | public function __construct(stdClass|null $object = null) { |
||
42 |
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