PHP 8.4 Deprecated Notices in PHP-DI
-
Hello,
After updating to PHP 8.4, I started receiving the following deprecated notices in the Multisite Language Switcher plugin:
Deprecated: DI\create(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in ...plugins\multisite-language-switcher\vendor\php-di\php-di\src\functions.php on line 35
Deprecated: DI\autowire(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in ...plugins\multisite-language-switcher\vendor\php-di\php-di\src\functions.php on line 48Could you please update the bundled PHP-DI dependency to a version compatible with PHP 8.4, or apply the necessary changes to explicitly declare the parameters as nullable (
?string)?Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.