code samples for rector.php don't match the auto-generated file
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3446874. -->
Reported by: [joachim](https://www.drupal.org/user/107701)
>>>
<p>I installed Rector and it auto-generated a rector.php file which starts like this:</p>
<pre>return RectorConfig::configure()<br> ->withPaths([</pre><p>That's not compatible with this example in the README:</p>
<pre>$rectorConfig->sets([</pre><p>Or this in the docs on the attribute conversion:</p>
<pre>return static function(RectorConfig $rectorConfig): void {<br> $rectorConfig->ruleWithConfiguration(\DrupalRector\Drupal10\Rector\Deprecation\AnnotationToAttributeRector::class, [</pre>
issue