Skip to content

Use php-64bit constraint in composer.json#160

Merged
vjik merged 2 commits intophptg:masterfrom
vudaltsov:patch-1
Jun 5, 2025
Merged

Use php-64bit constraint in composer.json#160
vjik merged 2 commits intophptg:masterfrom
vudaltsov:patch-1

Conversation

@vudaltsov
Copy link
Contributor

This library uses int type for Chat::$id, for instance. According to Telegram docs chat.id might have up to 52 significant bits. This means that this library can be safely used on 64-bit platforms only.

See https://getcomposer.org/doc/articles/composer-platform-dependencies.md#different-types-of-platform-packages for more information.

vudaltsov and others added 2 commits June 4, 2025 14:37
This library uses `int` type for Chat::$id, for instance. According to Telegram docs chat.id might have up to 52 significant bits. This means that this library can be safely used on 64-bit platforms only.
@vjik vjik merged commit f2b4eb9 into phptg:master Jun 5, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants