Skip to content
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

PHP 8.4 deprecation warnings #44504

Open
7 tasks
HLeithner opened this issue Nov 21, 2024 · 1 comment
Open
7 tasks

PHP 8.4 deprecation warnings #44504

HLeithner opened this issue Nov 21, 2024 · 1 comment
Labels
bug No Code Attached Yet PHP 8.x PHP 8.x deprecated issues

Comments

@HLeithner
Copy link
Member

HLeithner commented Nov 21, 2024

Issue to collect PHP 8.4 deprecation messages and fixes

Transitive dependencies:

  • GuzzleHttp\Promise
@t0mtaylor
Copy link

The currently installed Joomla! version is "‎5.2.2", with Php 8.4

"PHP message: PHP Deprecated: Function lcg_value() is deprecated since 8.4, use \Random\Randomizer::getFloat() instead in /joomla/plugins/system/sessiongc/src/Extension/SessionGC.php on line 66"

PHP message: PHP Deprecated: Tuf\Client\Repository::getSnapshot(): Implicitly marking parameter $maxBytes as nullable is deprecated, the explicit nullable type must be used instead in /joomla/libraries/vendor/php-tuf/php-tuf/src/Client/Repository.php

PHP message: PHP Deprecated: GuzzleHttp\Promise\FulfilledPromise::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /joomla/libraries/vendor/guzzlehttp/promises/src/FulfilledPromise.php on line 26

PHP message: PHP Deprecated: GuzzleHttp\Promise\PromiseInterface::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /joomla/libraries/vendor/guzzlehttp/promises/src/PromiseInterface.php on line 29

PHP message: PHP Deprecated: Function xml_set_object() is deprecated since 8.4, provide a proper method callable to xml_set_*_handler() functions in /joomla/libraries/src/Updater/Update.php on line 660; PHP message: PHP Deprecated: xml_set_element_handler(): Passing non-callable strings is deprecated since 8.4 in /joomla/libraries/src/Updater/Update.php on line 661; PHP message: PHP Deprecated: xml_set_character_data_handler(): Passing non-callable strings is deprecated since 8.4 in /joomla/libraries/src/Updater/Update.php on line 662

PHP Deprecated: xml_set_element_handler(): Passing non-callable strings is deprecated since 8.4 in /joomla/libraries/src/Updater/Adapter/ExtensionAdapter.php on line 284; PHP message: PHP Deprecated: xml_set_character_data_handler(): Passing non-callable strings is deprecated since 8.4 in /joomla/libraries/src/Updater/Adapter/ExtensionAdapter.php on line 285; PHP message: PHP Deprecated: Function xml_set_object() is deprecated since 8.4, provide a proper method callable to xml_set_*_handler() functions in /joomla/libraries/src/Updater/Adapter/ExtensionAdapter.php on line 283;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug No Code Attached Yet PHP 8.x PHP 8.x deprecated issues
Projects
None yet
Development

No branches or pull requests

5 participants