Composer Dependency Changed PHP 8.x bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
16 Oct 2025

Pull Request for Issue # .

Summary of Changes

This pull request (PR) updates the composer dependency "joomla/http" from version 3.1.2 to version 3.1.3 for the 5.4-dev branch.

The only change pulled with this update is the one from PR joomla-framework/http#68 to fix a deprecation notice on PHP 8.5 for the curl_close() method.

Release note: https://github.com/joomla-framework/http/releases/tag/3.1.3 .

See also https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_curl_close .

Testing Instructions

  • Use php 8.5 (latest pre-version).
  • Create Scheduled Task 'GET REquest' and execute the task

Actual result BEFORE applying this Pull Request

  • Task fails with JSON.parse: unexpected character at line 1 column 1 of the JSON data
  • Warning in PHP error logs like "PHP Deprecated: Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in D:\www\joomla\libraries\vendor\joomla\http\src\Transport\Curl.php on line 185"

Expected result AFTER applying this Pull Request

  • Task is executed
  • No curl_close() is deprecated anymore

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar richard67 richard67 - open - 16 Oct 2025
avatar richard67 richard67 - change - 16 Oct 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2025
Category External Library Composer Change
avatar richard67 richard67 - change - 16 Oct 2025
The description was changed
avatar richard67 richard67 - edited - 16 Oct 2025
avatar richard67 richard67 - change - 16 Oct 2025
Title
[5.4] Composer update joomla/http to 3.1.3 to fix PHP 8.5 deprecation of curl_close()
[5.4] [PHP8.5] Composer update joomla/http to 3.1.3 to fix PHP 8.5 deprecation of curl_close()
avatar richard67 richard67 - edited - 16 Oct 2025
avatar richard67 richard67 - change - 16 Oct 2025
The description was changed
avatar richard67 richard67 - edited - 16 Oct 2025
avatar muhme muhme - change - 16 Oct 2025
Labels Added: Composer Dependency Changed PHP 8.x bug PR-5.4-dev
avatar richard67 richard67 - change - 16 Oct 2025
The description was changed
avatar richard67 richard67 - edited - 16 Oct 2025
avatar richard67 richard67 - change - 16 Oct 2025
The description was changed
avatar richard67 richard67 - edited - 16 Oct 2025
avatar muhme muhme - change - 17 Oct 2025
The description was changed
avatar muhme muhme - edited - 17 Oct 2025
avatar muhme
muhme - comment - 17 Oct 2025

✅ Tested with JBT (new version 2.4.1 with HTTPS) php8.5-rc

  • Before the PR seen curl_close() is deprecated in joomla-54/administrator/log/php.log with creating
    scheduled task to get URL and also the task failed with
    JSON.parse: unexpected character at line 1 column 1 of the JSON data
  • Applying PR with graft full package
  • scheduled task with 'GET Request' runs successfully and no curl_close() is deprecated anymore in PHP log
avatar muhme muhme - close - 17 Oct 2025
avatar muhme muhme - merge - 17 Oct 2025
avatar muhme muhme - change - 17 Oct 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-10-17 06:53:20
Closed_By muhme
avatar muhme
muhme - comment - 17 Oct 2025

Thank you @richard67 for your contribution. Thank you @heelc29 for your framework fix.

Add a Comment

Login with GitHub to post a comment