Rector bot creates patch for turning public into protected variable - false positive
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3305972. -->
Reported by: [jurgenhaas](https://www.drupal.org/user/168924)
>>>
<h2>Drupal version</h2>
<p>D 10</p>
<h2>Drupal Rector version</h2>
<p>Not sure which version the bot is using on d.o</p>
<h2>Problem / Motivation</h2>
<p>We've just received this patch from the bot: <a href="https://www.drupal.org/project/eca/issues/3304015#comment-14661824">https://www.drupal.org/project/eca/issues/3304015#comment-14661824</a></p>
<p>That's a false positive because that variable needs to remain public. I guess, Rector suggests that as it may think this is a test class?</p>
issue