hook_form_FORM_ID_alter hooks are not converted to OOP
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3551880. -->
Reported by: [prudloff](https://www.drupal.org/user/3611858)
>>>
<h2>Drupal version</h2>
<p>11.2.2</p>
<h2>Drupal Rector version</h2>
<p>0.21.0</p>
<h2>Problem / Motivation</h2>
<p>We are using rector to convert hooks. It works with most hooks but hook_form_FORM_ID_alter hooks are not converted.<br>
For example:</p>
<div class="codeblock">
<pre><span style="color: #000000"><span style="color: #0000BB"><?php<br></span><span style="color: #FF8000">/**<br> * Implements hook_form_FORM_ID_alter().<br> *<br> * @phpstan-param mixed[] $form<br> */<br></span><span style="color: #007700">function </span><span style="color: #0000BB">foo_form_menu_link_edit_alter</span><span style="color: #007700">(&</span><span style="color: #0000BB">$form</span><span style="color: #007700">) : </span><span style="color: #0000BB">void </span><span style="color: #007700">{<br> </span><span style="color: #FF8000">//<br></span><span style="color: #007700">}<br></span><span style="color: #0000BB">?></span></span></pre></div>
issue