Closed loopy3025 closed 1 month ago
Hi @loopy3025, You can install GrumPHP using the 'shim' version. This is a separate packaged version so you don't have a conflicting dependencies: https://github.com/phpro/grumphp-shim
Thanks, I'll check that out.
@BrentRobert Installing phpro/grumphp-shim globally has worked perfectly. Thank you.
I've started getting this recently. I'm not sure what could have changed to cause this to start happening.
I have grumphp installed globally via composer on my computer and I have it installed in each of our projects via composer for ci and ide purposes. I suspect that's why I'm getting the error when I run
composer install
on those projects. It also throws when I rungrumphp
commands in those projects.Running
/vendor/bin/grumphp
works fine when run explicitly, but when run as a git hook or composer hook, it seems to be the same as executing thegrumphp
alias.My configuration
Steps to reproduce:
allow-plugins
composer install
orgrumphp -v
Workaround:
composer global remove phpro/grumphp