Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usages of deprecated utf8_encode() function #2489

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

williamjallen
Copy link
Collaborator

The utf8_encode() function is deprecated. PHPStan is currently failing for many of our monthly dependency updates because various dependencies got rid of a PHP 7.2 polyfill dependency. This PR updates our two usages of utf8_encode() to use mb_convert_encoding() instead, which will address the PHPStan failures in some of our dependencies.

@williamjallen williamjallen added this to the v3.6 milestone Oct 1, 2024
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.

1 participant