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

Merged
merged 1 commit into from
Oct 7, 2024

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
@zackgalbreath zackgalbreath added this pull request to the merge queue Oct 7, 2024
Merged via the queue into Kitware:master with commit da166e6 Oct 7, 2024
6 checks passed
@williamjallen williamjallen deleted the utf8_encode-removal branch October 7, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants