portable-utf8
portable-utf8 copied to clipboard
Deprecated PHP 8.4.2
various Deprecated errors: several Deprecated errors, these are just a few, there are more...
Deprecated: voku\helper\UTF8::str_titleize(): Implicitly marking parameter $word_define_chars as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 8704
Deprecated: voku\helper\UTF8::str_to_lines(): Implicitly marking parameter $remove_short_values as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 9064
Deprecated: voku\helper\UTF8::str_to_words(): Implicitly marking parameter $remove_short_values as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 9111
Deprecated: voku\helper\UTF8::str_upper_camelize(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 9352
Deprecated: voku\helper\UTF8::strcspn(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 9515
Deprecated: voku\helper\UTF8::strip_tags(): Implicitly marking parameter $allowable_tags as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 9652
Deprecated: voku\helper\UTF8::strspn(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 11118
Deprecated: voku\helper\UTF8::strtocasefold(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 11348
Deprecated: voku\helper\UTF8::strtolower(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 11403
Deprecated: voku\helper\UTF8::strtoupper(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 11483
Deprecated: voku\helper\UTF8::substr(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 11698
Deprecated: voku\helper\UTF8::substr_compare(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 11868
Deprecated: voku\helper\UTF8::substr_count(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 11926
Deprecated: voku\helper\UTF8::substr_count_in_byte(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 12018
Deprecated: voku\helper\UTF8::substr_in_byte(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 12172
Deprecated: voku\helper\UTF8::titlecase(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 12566
Deprecated: voku\helper\UTF8::trim(): Implicitly marking parameter $chars as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 12984
Deprecated: voku\helper\UTF8::ucfirst(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 13030
Deprecated: voku\helper\UTF8::wordwrap_per_line(): Implicitly marking parameter $delimiter as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 13496
Deprecated: voku\helper\UTF8::reduce_string_array(): Implicitly marking parameter $remove_short_values as nullable is deprecated, the explicit nullable type must be used instead in C:\laragon\www\xxxxx\vendor\voku\portable-utf8\src\voku\helper\UTF8.php on line 13827
You need to mark all the parameters with ?int, $string in th functions to explicitly set them to null as of 8.4.x
You need to mark all the parameters with ?int, $string in th functions to explicitly set them to null as of 8.4.x
we know this, but the repository owner does not respond
Any release planned with this?
Any release planned with this?
hi, it's resolved in master, but our packages use stable versions, so a tag would be great. Thanks for all the work.
@voku Would you be able to publish a version including this fix? Thanks!
@voku Thanks for your open-source contributions. However, we cannot upgrade several packages due to the deprecations. Could you release a new tag?
A tag would be very nice 🙏 Thanks for all the hard work!
Until a release is deployed, I am using this patch to fix the 8.4 issues. It is based on 48c36239a2792ebc999044ffab7935011a58009e and can be installed using cweagans/composer-patches
https://gist.github.com/ollyollyollyltd/1fe0a99ab262aff09b4ec17aa745b090
@voku Is is possible for you to release a new tag based on these changes?
There should be at least some response from owner @voku on this. What is the status or why the current master cannot be tagged?
JFYI (+ to calm a little bit down): https://github.com/voku/portable-utf8/pull/221#issuecomment-2898537480 Thanks @voku (in advance) if he has time to make a new tag! KR
Edit: Thought … Maybe a PR, based on the patch/gist by @ollyollyollyltd , can/could speed-up the implementation(?).
Until @voku finds some time and energy to tag a new version, you can use this version in your composer.json:
dev-master#c4b3774
That constraint binds the package to the master branch, but for security reasons, explicitly to the latest commit that includes the fixes.