Create rule for 'Manually created services must specify public or private'
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3354892. --> Reported by: [joachim](https://www.drupal.org/user/107701) >>> <h2>Drupal version</h2> <p>9.5</p> <h2>Drupal Rector version</h2> <p>Whatever runs on d.org</p> <h2>Problem / Motivation</h2> <p>There is no rule for <a href="https://www.drupal.org/node/3194517">https://www.drupal.org/node/3194517</a>. The Rector patch at <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/better_normalizers/issues/3286221" title="Status: Closed (fixed)">#3286221: Automated Drupal 10 compatibility fixes</a></span> has not picked up the deprecation for this in the better_normalizers module.</p>
issue