| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class chatBoostSource extends types { |
||
|
|
|||
| 11 | /** Keep all properties which has sub properties */ |
||
| 12 | private const subs = ['user' => 'BPT\types\user']; |
||
| 13 | |||
| 14 | /** Could be "premium", "gift_code" or "giveaway" */ |
||
| 15 | public string $source; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * User(premium) that boosted the chat, |
||
| 19 | * Or User(gift_code) for which the gift code was created |
||
| 20 | * Or User(giveaway) that won the prize in the giveaway if any |
||
| 21 | */ |
||
| 22 | public null|user $user = null; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * `giveaway` only. Identifier of a message in the chat with the giveaway; the message could have been deleted |
||
| 26 | * already. May be 0 if the message isn't sent yet. |
||
| 27 | */ |
||
| 28 | public null|int $giveaway_message_id = null; |
||
| 29 | |||
| 30 | /** `giveaway` only. Optional. True, if the giveaway was completed, but there was no user to win the prize */ |
||
| 31 | public null|bool $is_unclaimed = null; |
||
| 32 | |||
| 33 | |||
| 34 | public function __construct(stdClass|null $object = null) { |
||
| 39 | } |
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