Closed Kanti closed 7 years ago
I am not sure I am in favour of this feature request. It sure looks pretty handy, but we are trying to us GrumPHP as a quality tool. Not just some git hook task runner.
Maybe if there are enough people in favour of this issue, it can be added. Let's keep this open some time and see if it gets some upvotes :)
I haven't really been involved much lately. But FWIW, explicit > implicit - I believe running composer (or any other similar tool) should be a conscious developer action. That way the developer stays connected to the system under development much more closely, which will also help with quality. A co-worker might have added a dependency you don't agree with; you might miss this if you let GrumPHP handle composer for you.
It looks like this one can be closed. Thanks for the suggestion, but we will not implement this feature.
How about another git hook. A post-merge hook. We Idea is simple.
@from https://gist.github.com/sindresorhus/7996717
We could make it configurable in the grumphp.yml file.