consolidation/cgr

`drupal-check` cannot parse code when installed via CGR

Opened this issue · 2 comments

drupal-check is a tool to scan a Drupal codebase for the use of deprecated code:
https://github.com/mglaman/drupal-check
It's built on PHPStan:
https://github.com/phpstan/phpstan

When installed via CGR, it cannot parse the code:
mglaman/drupal-check#55 (comment)

I'll be looking into this. Drupal Check does some assumptions on paths and I think CGR might be confusing it

You may also wish to compare behavior with https://github.com/bamarni/composer-bin-plugin, or when installing via native composer features.