Rector adds "use function" statements for namespaced function calls
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3298079. --> Reported by: [mfb](https://www.drupal.org/user/12302) >>> <h2>Drupal version</h2> <p>Drupal 10</p> <h2>Drupal Rector version</h2> <p>0.13.0</p> <h2>Problem / Motivation</h2> <p>Drupal Rector is adding <code>use function</code> statements for namespaced function calls. This doesn't seem necessary imho, so I was thinking maybe this rule could be disabled? See e.g. <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/raven/issues/3297932" title="Status: Closed (fixed)">#3297932: Automated Drupal 10 compatibility fixes</a></span>.</p> <p>If there is a Drupal coding standard about <code>use function</code> for namespaced functions, then never mind, this issue should be closed :)</p> > Related issue: [Issue #3297932](https://www.drupal.org/node/3297932)
issue