opensearch-project / opensearch-php

Official PHP Client for OpenSearch
Other
91 stars 54 forks source link

[BUG] Deprecated dynamic property on CurlMultiHandler #164

Open gsitu opened 10 months ago

gsitu commented 10 months ago

What is the bug?

When using PHP 8.2 there is deprecated dynamic property usage for the CurlMultiHandler

Creation of dynamic property GuzzleHttp\Ring\Client\CurlMultiHandler::$_mh is deprecated (/var/www/html/protected/libraries/vendor/ezimuel/ringphp/src/Client/CurlMultiHandler.php:48)

How can one reproduce the bug?

By using PHP 8.2 and then doing any request to the opensearch endpoint

What is the expected behavior?

I would expect this to run without any deprecation warnings

What is your host/environment?

Mac M1, docker env with PHP 8.2

Do you have any additional context?

The ezimuel/ringphp 1.2.2 has some suppressions for these, but doesnt look like they work.