Closed hocrattot closed 2 years ago
Ok, I could finally figure it out. In my EXEC_GRUMPHP_COMMAND option, my docker command was ran with the -t flag. I needed to use the -i flag so that docker keeps the STDIN
So I replaced this
docker run --rm -t -v $(pwd):/var/www -w /var/www -e "TERM=xterm-256color" web
by this :
docker run --rm -i -v $(pwd):/var/www -w /var/www web
It is now all good
Hi,
I have installed GrumpPHP on my project and configured only two tasks for the moment (php lint and git_blacklist). It seemed to be all good but then, after modifying a file to create a parse error, I ran git commit -am "test" and the tasks passed.
My configuration
Steps to reproduce:
Result:
If I run git add . and then git commit -m "test", GrumPHP will give the expected results and will not let me commit the file. All other ways like git add . && git commit -m "test" will also work as expected.