Skip to content

Decimal update issue #100

@tmr-g

Description

@tmr-g

Some days ago the fail in tarantool-php client appeared in tarantool ci tests. Eg:

3) Tarantool\Client\Tests\Integration\MessagePack\DecimalExtensionTest::testLuaPackingAndUnpacking with data set #0 ('0')
Error: Call to private Decimal\Decimal::__construct() from scope Tarantool\Client\Packer\Extension\DecimalExtension

/client/src/Packer/Extension/DecimalExtension.php:83
/client/vendor/rybakit/msgpack/src/BufferUnpacker.php:824
/client/vendor/rybakit/msgpack/src/BufferUnpacker.php:281
/client/vendor/rybakit/msgpack/src/BufferUnpacker.php:734
/client/vendor/rybakit/msgpack/src/BufferUnpacker.php:275
/client/vendor/rybakit/msgpack/src/BufferUnpacker.php:494
/client/src/Packer/PurePacker.php:87
/client/src/Handler/DefaultHandler.php:40
/client/src/Client.php:187
/client/tests/Integration/MessagePack/DecimalExtensionTest.php:72

All errors are the same: Error: Call to private Decimal\Decimal::__construct() from ....

The php decimal extension was updated at 2026-04-11. It seems, the problem comes with update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions