drupal-rector and phpstan-drupal are in conflict
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3388865. --> Reported by: [luckie joe](https://www.drupal.org/user/3711667) >>> <h2>Drupal version - 9.5.10</h2> <h2>Drupal Rector version - 0.15.1</h2> <h2>Problem / Motivation</h2> <p>During running drupal-rector I faced with error:<br> [ERROR] "PHPStan\ShouldNotHappenException" thrown in<br> "/Users/[user_name]/Projects/[project_name]/vendor/mglaman/phpstan-drupal/drupal-autoloader.php" on line 7<br> while loading bootstrap file<br> /Users/[user_name]/Projects/[project_name]/vendor/mglaman/phpstan-drupal/drupal-autoloader.php: The autoloader<br> did not receive the container. </p> <p>Seems like drupal-rector and phpstan-drupal are in conflict</p> <p>I use drupal-rector v.0.15.1 and phpstan-drupal v.1.1.30 (I also increased version to 1.2.0 - it doesn't helps me)</p>
issue