-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[5.2] Static function getList deprecated in mod_stats #42907
Conversation
After click on |
@fgsw Your local joomla installation is not up to date |
I have tested this item ✅ successfully on 15ba980 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42907. |
Just realised I am testing with PHP8.3 - everything seems to work. For this PR I do not see a deprecated notice with or without the patch. Am I supposed to? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42907. |
@ceford No, deprecated static function in helper file may be still used by other extensions (probably only 3rd party), so this is the case, when this deprecated function is called. Module mod_stats is now using new non-static method from helper, so there is no deprecation notice. |
I have tested this item ✅ successfully on 15ba980 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42907. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42907. |
Back to pending as there have been made changes. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42907. |
I have tested this item ✅ successfully on 1dbe39e Before Patch: 28 statements were executed, 6 of which were duplicates, 22 unique so if intended great and even if not, fewer = better so great :) Thanks for yet another good fix. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42907. |
I have tested this item ✅ successfully on 1dbe39e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42907. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42907. |
I have tested this item ✅ successfully on 1dbe39e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42907. |
great to see all these tests @cybersalt - hope this will become a regular thing |
This pull request has been automatically rebased to 5.2-dev. |
Thanks @joomlaweby ! |
Summary of Changes
Static function getList is after applying pull request deprecated and new non-static method getStats created in StatsHelper.
Testing Instructions
Actual result BEFORE applying this Pull Request
Module works as expected
Expected result AFTER applying this Pull Request
Module works same way as before applying pull request
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