Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drupal-check cannot parse code when installed via CGR #37

Open
dalin- opened this issue May 6, 2019 · 2 comments
Open

drupal-check cannot parse code when installed via CGR #37

dalin- opened this issue May 6, 2019 · 2 comments

Comments

@dalin-
Copy link

dalin- commented May 6, 2019

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)

@mglaman
Copy link

mglaman commented May 6, 2019

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

@greg-1-anderson
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants