TeleSign / php_telesign

The Telesign PHP SDK lets you easily integrate with our REST API.
MIT License
15 stars 33 forks source link

Any plans to update compatibility with PHP 8.1? #19

Closed TheMY3 closed 2 months ago

TheMY3 commented 2 years ago

After upgrade to PHP 8.1 got error:

PHP Deprecated http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated [internal] http_build_query /vendor/telesign/telesign/src/rest/RestClient.php:210 telesign\sdk\rest\RestClient::execute /vendor/telesign/telesign/src/rest/RestClient.php:154 telesign\sdk\rest\RestClient::post /vendor/telesign/telesign/src/score/ScoreClient.php:22 telesign\sdk\score\ScoreClient::score

phplicengine commented 1 year ago

Are you really using TeleSign?! When they have no respects for their potential customers, I thought TeleSign is actually a fake company.

sailingdeveloper commented 1 year ago

Possible fix here: https://github.com/TeleSign/php_telesign/pull/20

adohertyTS commented 2 months ago

hi all! Telesign product manager here. We've updated this SDK to be compatible with PHP 8.1 in the latest version, addressing this issue. Please let me know if you run into any further difficulties. :D