Provide automatic conversion from annotations to native attributes
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3265946. --> Reported by: [andypost](https://www.drupal.org/user/118908) >>> <h2>Drupal version</h2> <p>10.0.x</p> <h2>Drupal Rector version</h2> <p>TBD</p> <h2>Problem / Motivation</h2> <p>Part of <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupal/issues/3252386" title="Status: Closed (fixed)">#3252386: Use PHP attributes instead of doctrine annotations</a></span></p> <p>While there's MVP patch to replace annotations with attributes as Drupal 10.0 require PHP 8.1</p> <p>ATM parent issue work is about to define replacements to doctrine annotation which gonna be deprecated</p> > Related issue: [Issue #3265945](https://www.drupal.org/node/3265945) > Related issue: [Issue #3252386](https://www.drupal.org/node/3252386)
issue