Replies: 1 comment 1 reply
-
Why would you install grumphp on projects that don't use git? The reason why it currently is not in grumphp.yaml, is because the decision is made in the composer plugin. Not sure if it's a good idea to make it configurable at 2 different locations. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm wondering if disable git hook installation through a config parameter is a good idea.
Sometimes we work on a project where git is not enabled and installing Grumphp fails.
Sometimes we just don't want to have the git hook installed by default even if Git is enabled...
Maybe we should have a configuration option that would let the user choose the behavior ?
I know that it is already possible to do, but wouldn't it be better to have this setting in the Grumphp config file ?
Something like:
Available values for this property could be:
true
: Enable the Git hook if git is enabled on the project, fails otherwise (default current behavior)false
: Do not enable the Git hooknull
: Enable the Git hook is git is enabled on the project, skip otherwise and stay silentLet me know what you think!
Beta Was this translation helpful? Give feedback.
All reactions