I was trying to use this to run PHPStan on a contrib project (feeds) and after some debugging I got to webflo/drupal-finder which fails to detect Drupal Root because it loads the composer.json from the module instead, and cannot find the installer-paths property that it uses to detect the root.
I was trying to use this to run PHPStan on a contrib project (feeds) and after some debugging I got to webflo/drupal-finder which fails to detect Drupal Root because it loads the composer.json from the module instead, and cannot find the installer-paths property that it uses to detect the root.