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

"grumphp" shell-script broken #3

Closed
prilka opened this issue Jan 7, 2020 · 1 comment · Fixed by #4
Closed

"grumphp" shell-script broken #3

prilka opened this issue Jan 7, 2020 · 1 comment · Fixed by #4

Comments

@prilka
Copy link
Contributor

prilka commented Jan 7, 2020

With the changes in #2 (c597994) it's no longer possible to call the shell-script if the current working directory is not vendor/bin

Command:

vendor/bin/grumphp

Error:

PHP Warning:  require(phar://grumphp.phar/.box/bin/check-requirements.php): failed to open stream: phar error: invalid url or non-existent phar "phar://grumphp.phar/.box/bin/check-requirements.php" in /path/to/my/project/vendor/phpro/grumphp-shim/grumphp on line 9
@stijnbernards
Copy link

stijnbernards commented Jan 9, 2020

The same is happening for me. Your PR fixes it for my case.

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

Successfully merging a pull request may close this issue.

2 participants