-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
Not working in PHP 8.2 because of voku/portable-utf8/src/voku/helper/UTF8.php #272
Comments
Hey thanks for the heads up @follestad ... definitely something we'll look into further! If you want to hack it for now, you could remove the https://github.com/RubixML/ML/blob/master/src/Tokenizers/WordStemmer.php#L6 |
Hiya, any updates to this? |
I have a fork for that Package.... Change your Dependency to "repositories": [
{
"type": "github",
"url": "https://github.com/ThomasEnssner/portable-utf8"
}
] |
2.3.2 will use a new version 3 of PHP Stemmer, hopefully that fixes your issue |
Just as a heads-up: If you do not want to fork repos because of trivial issues (such as this one here), https://github.com/symplify/vendor-patches comes in very handy. |
PHP 8.2 support for wamania/php-stemmer: |
Has this been resolved now? |
I get the following error when using this Rubix ML with PHP 8.2:
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/vendor/voku/portable-utf8/src/voku/helper/UTF8.php on line 4653
.wamania/php-stemmer v2.2.0 requires voku/portable-utf8 (^5.4).
I wasn't able to include a newer version of voku/portable-utf8, because it wouldn't match the requirements for Rubix ML / php-stemmer.
The text was updated successfully, but these errors were encountered: