portable-ascii icon indicating copy to clipboard operation
portable-ascii copied to clipboard

Deprecated voku in php8.4alpha1

Open zxstudio-llc opened this issue 1 year ago • 9 comments

Deprecated: voku\helper\ASCII::to_ascii(): Implicitly marking parameter $replace_single_chars_only as nullable is deprecated, the explicit nullable type must be used instead in /Users/zx-studio/Herd/zx-studioweb/vendor/voku/portable-ascii/src/voku/helper/ASCII.php on line 795

zxstudio-llc avatar Aug 15 '24 23:08 zxstudio-llc

Hi @voku , PR https://github.com/voku/portable-ascii/pull/102 should solve the deprecation. Any chance we can merge that and get a tag soon?

crynobone avatar Oct 03 '24 22:10 crynobone

@voku Hey! Whats stopping this from being merged? Is there anything anyone can do to help progress it? :)

Diddyy avatar Oct 27 '24 10:10 Diddyy

Yesterday I tried version 8.4 again but the error still appears so I continue working with version 8.3

zxstudio-llc avatar Oct 27 '24 15:10 zxstudio-llc

@voku PHP 8.4.0 is planned for November 21st, 2024 (in 10 days), can we get a this solve ASAP?

crynobone avatar Nov 11 '24 07:11 crynobone

PHP 8.4.0 and even 8.4.1 are already published at https://windows.php.net/downloads/releases/.

Could this please be resolved? The warning is showing up in all Laravel 11 applications on PHP 8.4.

Thanks.

MGeurts avatar Nov 20 '24 20:11 MGeurts

The warning is showing up in all Laravel 11 applications on PHP 8.4.

Laravel 11.33.0 (which was released yesterday) should prevent any deprecation warnings caused by this package, see https://github.com/laravel/framework/pull/53571.

duncanmcclean avatar Nov 20 '24 20:11 duncanmcclean

@duncanmcclean Unfortunately, after some tests, it isn't working 100%, and we still need to wait for a fix for this project.

crynobone avatar Nov 21 '24 00:11 crynobone

Looks like this might have been addressed by #105 🎉

duncanmcclean avatar Nov 21 '24 00:11 duncanmcclean

So the current Laravel framework has been bumped to portable-ascii ^2.0.2 in 11.33

"voku/portable-ascii": "^2.0.2"

Edit: Just realised Duncan already mentioned that.

phildawson-gravity avatar Nov 22 '24 17:11 phildawson-gravity