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

User tests: Successful: Unsuccessful:

avatar richard67
richard67
17 Oct 2025

Pull Request for Issue # .

Summary of Changes

This pull request (PR) updates the composer dependency "joomla/test" from version 3.0.3 to version 3.0.4 for the 5.4-dev branch.

The only change pulled with this update is the one from PR joomla-framework/test#19 to fix a deprecation notice on PHP 8.5 for the setAccessible() methods of various Reflection objects.

Release note: https://github.com/joomla-framework/test/releases/tag/3.0.4 .

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

Testing Instructions

  • Use php 8.5 (latest pre-version).
  • Run composer install
  • Run unit tests ./libraries/vendor/bin/phpunit --testsuite Unit
  • Check PHP error log

Actual result BEFORE applying this Pull Request

Deprecation messages ReflectionMethod::setAccessible() is deprecated.

Expected result AFTER applying this Pull Request

None of these messages.

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 - 17 Oct 2025
avatar richard67 richard67 - change - 17 Oct 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Oct 2025
Category External Library Composer Change
avatar muhme
muhme - comment - 17 Oct 2025

✅ Tested with JBT php8.5-rc

  • Before the PR seen 23 ReflectionMethod::setAccessible() is deprecated
  • Applied PR by gh pr checkout 46309 and running composer i
    • ✅ no more ReflectionMethod::setAccessible() is deprecated
    • â„šī¸ For Info: Still there are other deprecations
avatar muhme muhme - change - 17 Oct 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-10-17 10:47:45
Closed_By muhme
Labels Added: Composer Dependency Changed PHP 8.x bug PR-5.4-dev
avatar muhme muhme - close - 17 Oct 2025
avatar muhme muhme - merge - 17 Oct 2025
avatar muhme
muhme - comment - 17 Oct 2025

Thank you @richard67 for your contribution.

Add a Comment

Login with GitHub to post a comment