-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[5.4] Remove use of deprecated dispatcher from the plugin constructors #45644
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.4] Remove use of deprecated dispatcher from the plugin constructors #45644
Conversation
On my J5 test installation I get an error on applying the patch that mentions compat6: The file marked for modification does not exist: plugins/behaviour/compat6/services/provider.php So I tried on my J6 test installation, where I get: The file marked for modification does not exist: plugins/behaviour/compat/services/provider.php These are clones with the appropriate branch checked out and testing data installed. These files do exist! What now? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45644. |
How are you applying the patch? |
With Patchtester |
I doubt that you can use patchtester for this as there are too many files. |
I have tested this item ✅ successfully on d2b3978 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45644. |
@Fedik PHPstan fails due to some
I'm not sure if we should add new entries to the baseline file for that or if we better should add rules to the main config file like I did with my PR #45814 . We should discuss that in the maintainers team. |
I think we can add it to baseline. I will update it later. |
@richard67 what did you made in other PR to fix phpstan? |
@Fedik I had compared the created baseline file with the one from a clean, current 5.4-dev branch and found one entry missing in the created one, so I have added that from the 5.4-dev branch. No idea why phpstan did not add it to the baseline file when creating it. |
@Fedik P.S.: I have no idea why entries from the 5.4-dev phpstan baseline file are missing when a branch of a PR is up to date with the 5.4-dev branch. Something is weird, but for sure it is not caused by your PR. |
Seems works now, thanks! |
I have tested this item ✅ successfully on d2b3978 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45644. |
I have tested this item ✅ successfully on d2b3978 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45644. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45644. |
✅ Final test before merge, with JBT graft
|
@muhme there is a pr for that error from me. |
Thank you @Fedik for your contribution. Thank you @brianteeman and @ceford for suporting this PR. Thank you @exlemor, @HLeithner and @richard67 for testing/reviewing. |
Summary of Changes
Follow up for
PR removes use of the dispatcher argument from plugin constructors.
Testing Instructions
Code review.
Or
Check existing features works as before:
Create/edit Article
Create/edit Category
Create/edit custom field
Run Finder indexer
etc.
Actual result BEFORE applying this Pull Request
Works
Expected result AFTER applying this Pull Request
Works
Link to documentations
Please select: