Incorrect annotation to attribute conversion for plugins with a single constructor annotation
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3470861. --> Reported by: [recrit](https://www.drupal.org/user/452914) >>> <h2>Drupal version</h2> <p>10.3</p> <h2>Drupal Rector version</h2> <p>0.20.3</p> <h2>Problem / Motivation</h2> <p>Following the instructions on <a href="https://github.com/palantirnet/drupal-rector/blob/main/docs/core_plugin_conversion.md">https://github.com/palantirnet/drupal-rector/blob/main/docs/core_plugin_conversion.md</a> does not yield correct conversions for plugin annotations that use a single constructor.<br> For example: ViewsField<br> Annotation: <code>@ViewsField("my_custom_views_field")</code><br> Converted Attribute: <code>#[\Drupal\views\Attribute\ViewsArea]</code> - This is missing the <code>id</code> argument for the attribute.</p>
issue