Problem/Motivation
Drupal 9 is now using Symfony 4.4, this version changed the parameters order of the event dispatcher.
Steps to reproduce
Look for dispatch calls and check the deprecated parameters order.
Proposed resolution
Invert the parameters order of dispatch calls.
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | symfony-4-4-event-dispatcher-parameter-order-change-3248186-2.patch | 1.46 KB | tbsiqueira |
Comments
Comment #2
tbsiqueiraComment #3
navneet0693 commentedComment #5
graber commentedThank you!
Comment #6
tbsiqueiraHi @graber, thank you for using this patch. I want to add that this change is not compatible with Drupal 8 and I noticed that the version 4.x still supports Drupal 8.
Kind regards.
Comment #7
graber commentedNot good.
D8 is currently EOL but looking at https://www.drupal.org/project/usage/drupal..
I think we still need to support D8, check for Drupal version in code and act accordingly.
Comment #8
graber commentedQuick hint making this super-easy: https://drupal.stackexchange.com/questions/260730/how-do-i-programmatica...
Comment #9
navneet0693 commented@Graber: This patch could be utilized only when maintainers want to stop supporting Drupal 8 which can either be done in 5.0.x or in 4.1.x, whatever maintainers decide more.
This patch solves problems of deprecations warning for the people who are using Drupal 9 now and can add this a project in their projects.