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

File 'phar:https:///usr/local/bin/drupal-check/vendor/phpstan/phpstan-deprecation-rules/rules.neon' is missing or is not readable. #162

Closed
nitesh624 opened this issue Apr 25, 2020 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@nitesh624
Copy link

nitesh624 commented Apr 25, 2020

drupal-check web/modules/contrib/name/
sh: 1: exec: vendor/phpstan/phpstan/phpstan: not found

@paulostarling
Copy link

I have this problem too. I tried to install drupal-check with composer in my project and globally.

I have this error: /app/vendor/mglaman/phpstan-drupal/extension.neon does not exists or isn't readable

I tried to give permissions to the file but it does not work.

@paulostarling
Copy link

Hello @nitesh624,
Today I installed drupal-check in project, what I did id:
1- Installed drupal-check with composer: composer require mglaman/drupal-check --dev
2- I run the command: php vendor/bin/drupal-check <module_directory>

I didn't try to install it globally yet.

@mglaman
Copy link
Owner

mglaman commented May 10, 2020

Okay, it looks like the 0.12 support upgrade caused some grief.

Closing this as a duplicate of #164, since I opened a PR.

@paulostarling your issue seems different, can you open a different issue?

@mglaman mglaman closed this as completed May 10, 2020
@mglaman mglaman added the duplicate This issue or pull request already exists label May 10, 2020
@mglaman
Copy link
Owner

mglaman commented May 11, 2020

Phar is just flat out broken. I'm closing this to track the complete problem in #167

@mglaman mglaman reopened this May 11, 2020
@mglaman mglaman closed this as completed May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants