Skip to content

Conversation

richard67
Copy link
Member

@richard67 richard67 commented Oct 16, 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

@muhme
Copy link
Contributor

muhme commented Oct 17, 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
      
      

@richard67
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants