-
Notifications
You must be signed in to change notification settings - Fork 684
Open
Labels
Description
What happened?
Description
The package Voku/stringy is not compatible with PHP 8.4. This package uses by Craft CMS within composer.json seems to be abandoned as has not received any updates nor for 2 years. Or longer if you consider major patches.
Since PHP 8.4 all nullable parameters without a question mark (string $test = null) are deprecated and should be prefixed with ?.
The console gives a lot of deprecations. This even occurs on commands like craft up. While there are methods to suppress, ideally the deprecations are resolved.
PHP Deprecated: voku\helper\UTF8::extract_text(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/voku/portable-utf8/src/voku/helper/UTF8.php on line 1622
PHP Deprecated: voku\helper\UTF8::file_get_contents(): Implicitly marking parameter $offset as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/voku/portable-utf8/src/voku/helper/UTF8.php on line 1842
PHP Deprecated: voku\helper\UTF8::file_get_contents(): Implicitly marking parameter $max_length as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/voku/portable-utf8/src/voku/helper/UTF8.php on line 1842
PHP Deprecated: voku\helper\UTF8::getSupportInfo(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/voku/portable-utf8/src/voku/helper/UTF8.php on line 2580
PHP Deprecated: Stringy\Stringy::__construct(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/voku/stringy/src/Stringy.php on line 77
Deprecated: Stringy\Stringy::create(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/voku/stringy/src/Stringy.php on line 957
Deprecated: Stringy\Stringy::extractText(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/voku/stringy/src/Stringy.php on line 1324
Craft CMS version
5.6.4
PHP version
8.4
Operating system and version
No response
Database type and version
No response
Image driver and version
No response