Feature Request
Rector allows to load phpstan configs so detection gets better. What i did notice is that is does not load the bootstrap files of the extensions. Thie was kinda metioned here #8006 but that bootstrap file only really loads a constant i think.
When combining drupal-rector with phpstan-drupal, i noticed the bootstrap files were not loaded.
I mostly wonder if this was a explicit decision to minimize the surface between the two modules, or that it is an oversight?
I can make a PR to load bootstrap files into rector, but not sure if you'd want that.
Feature Request
Rector allows to load phpstan configs so detection gets better. What i did notice is that is does not load the bootstrap files of the extensions. Thie was kinda metioned here #8006 but that bootstrap file only really loads a constant i think.
When combining drupal-rector with phpstan-drupal, i noticed the bootstrap files were not loaded.
I mostly wonder if this was a explicit decision to minimize the surface between the two modules, or that it is an oversight?
I can make a PR to load bootstrap files into rector, but not sure if you'd want that.