-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[6.0] [PHP8.5] Composer update joomla/test to 4.0.1 to fix PHP 8.5 deprecation of reflection setAccessible() #46310
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
Merged
Bodge-IT
merged 2 commits into
joomla:6.0-dev
from
richard67:6.0-dev-composer-update-joomla-test-4.0.1
Nov 10, 2025
Merged
[6.0] [PHP8.5] Composer update joomla/test to 4.0.1 to fix PHP 8.5 deprecation of reflection setAccessible() #46310
Bodge-IT
merged 2 commits into
joomla:6.0-dev
from
richard67:6.0-dev-composer-update-joomla-test-4.0.1
Nov 10, 2025
+6
−6
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
|
I have tested this item 🔴 unsuccessfully on fa47705
|
Contributor
Member
Author
|
Thanks, I've updated the testing instructions. |
Contributor
|
I have tested this item ✅ successfully on fa47705
|
Contributor
|
I have tested this item ✅ successfully on fa47705 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46310. |
Member
Author
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46310. |
Contributor
|
Thanks @richard67 last one done and thanks to @heelc29 & @muhme for comprehensive tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request for Issue # .
Summary of Changes
This pull request (PR) updates the composer dependency "joomla/test" from version 4.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/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/4.0.1 .
See also https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible .
Testing Instructions
composer install./libraries/vendor/bin/phpunit --testsuite UnitActual result BEFORE applying this Pull Request
Deprecation messages
ReflectionMethod::setAccessible() is deprecated.Expected result AFTER applying this Pull Request
None of these messages for the joomla/tes depencendies.
Remaining messages will be fixed when the changes from PR #46202 in 5.4-dev have been merged up into 6.0-dev:
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