I suspect this may be a limitation of drupal-finder, but is there any way to use this tool in a multisite setup? I have a modules directory within each site directory, but only modules in "default" can be checked (others get the "autoloading is probably not configured properly" error).
That is because mglaman/phpstan-drupal does not inspect those directories. We would need some way to change the "current" site. We'll need to open a reference issue there.
I suspect this may be a limitation of drupal-finder, but is there any way to use this tool in a multisite setup? I have a modules directory within each site directory, but only modules in "default" can be checked (others get the "autoloading is probably not configured properly" error).