RTC Composer Dependency Changed PHP 8.x bug PR-6.0-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 4.0.0 to version 4.0.1 for the 6.0-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/4.0.1 .

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

Expected result AFTER applying this Pull Request

No such warning.

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
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 - test_item - 17 Oct 2025 - Tested successfully
avatar muhme
muhme - comment - 17 Oct 2025

I have tested this item ✅ successfully on 2f12076

Tested with JBT 2.4.1 php8.5-rc

  • Before the PR seen curl_close() is deprecated in joomla-54/administrator/log/php.log with creating Scheduled Task 'GET Request'' and also the task failed with red JSON.parse: unexpected character at line 1 column 1 of the JSON data
  • Applying PR with graft full package
    • ✅ No curl_close() is deprecated anymore in PHP log
    • ⚠️ Scheduled task with 'GET Request' still fails, it is expected regarding the other remaining deprecations:
      PHP Deprecated:  Method ReflectionMethod::setAccessible() is deprecated since 8.5, as it has no effect in /var/www/html/administrator/components/com_scheduler/src/Traits/TaskPluginTrait.php on line 300
      PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/src/Document/HtmlDocument.php on line 533
      PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/src/Document/HtmlDocument.php on line 534
      PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/src/Document/HtmlDocument.php on line 578
      
      
avatar richard67
richard67 - comment - 17 Oct 2025

Remaining deprecations should be fixed when fixed in the 5.4-dev branch and merged up to 6.0-dev.

avatar heelc29 heelc29 - test_item - 5 Nov 2025 - Tested successfully
avatar heelc29
heelc29 - comment - 5 Nov 2025

I have tested this item ✅ successfully on 2f12076


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46302.

avatar richard67 richard67 - change - 5 Nov 2025
Status Pending Ready to Commit
Labels Added: bug Composer Dependency Changed PHP 8.x PR-6.0-dev
avatar richard67
richard67 - comment - 5 Nov 2025

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46302.

avatar muhme muhme - change - 5 Nov 2025
Labels Added: RTC
avatar Bodge-IT Bodge-IT - close - 10 Nov 2025
avatar Bodge-IT Bodge-IT - merge - 10 Nov 2025
avatar Bodge-IT Bodge-IT - change - 10 Nov 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-11-10 20:39:22
Closed_By Bodge-IT
avatar Bodge-IT
Bodge-IT - comment - 10 Nov 2025

Thanks @richard67 for the PR and @muhme and @heelc29 for tests

Add a Comment

Login with GitHub to post a comment