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

Fix PHP 8.2 deprecations #56

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fix PHP 8.2 deprecations #56

wants to merge 4 commits into from

Conversation

mdio
Copy link

@mdio mdio commented Nov 10, 2023

Several things happened here in order to support current PHP versions:

  • Upgrade PHPUnit to 9 + fix test signature and bcmath errors with passing strings like "two"
  • Replace utf8_decode with mb_convert_encoding (as it's deprecated in PHP 8.2)
  • I then removed the code that was running when ext-mbstring wasn't available as it's a requirement now anyway.

utf8_decode is deprecated in PHP 8.2.
ext-mbstring is now a requirement.
Because ext-mbstring is required now anyway.
Radcliffe pushed a commit to Radcliffe/Text-Statistics that referenced this pull request Dec 18, 2023
pattonwebz added a commit to equalizedigital/textstatistics that referenced this pull request Apr 2, 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.

None yet

1 participant