Event dispatch argument order not fixed when event name is a variable value
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3300697. --> Reported by: [mglaman](https://www.drupal.org/user/2416470) >>> <h2>Drupal Rector version</h2> <p>palantirnet/drupal-rector: 0.13.0</p> <h2>Problem / Motivation</h2> <p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-8"><a href="https://www.drupal.org/project/comment_approver/issues/3286594" title="Status: Needs review">#3286594: Automated Drupal 10 compatibility fixes</a></span></p> <p>The patch did not fix dispatch arguments, and a contributor noted that it needed to be.</p> <p><a href="https://drupal.slack.com/archives/C014CT1CN1M/p1659096840107009">https://drupal.slack.com/archives/C014CT1CN1M/p1659096840107009</a></p>
issue