You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With php8.2 released a couple weeks ago, and since this library supports "php": ">=5.6.0", I think it's time to add a polyfill for the deprecated function utf8_encode:
Describe the bug
With php8.2 released a couple weeks ago, and since this library supports
"php": ">=5.6.0"
, I think it's time to add a polyfill for the deprecated functionutf8_encode
:stripe-php/lib/Util/Util.php
Line 88 in f672444
Symfony has a nice polyfill library that can be used: https://github.com/symfony/polyfill/blob/-/src/Php72/Php72.php#L24
To Reproduce
\Stripe\Util\Util::utf8('test')
Expected behavior
It should throw a deprecation notice error
Code snippets
No response
OS
macOS
PHP version
PHP 8.2
Library version
latest
API version
latest
Additional context
No response
The text was updated successfully, but these errors were encountered: