Open prashantg-cuelogic opened 10 years ago
sorry, i don't have any idea, esp. in a windows env.
While committing the files it prompts me as
9ceafc16be2f0e3d13d80456028bcfef94f0b1d1 .git/hooks/pre-commit: line 106: C:/xampp/php/PEAR/PHP/CodeSniffer/Standards/PHP CS: is a directory
My guess is that you've set the path to your
phpcs
executable to the PHPCS ruleset directory in yourconfig
file. I don't know where it's installed on a Windows machine but you could probably determine the path by runningwhere phpcs
in the command shell orwhich phpcs
in gitbash.
Hello, I am trying to use this hook on my windows with gitbash. While committing the files it prompts me as "9ceafc16be2f0e3d13d80456028bcfef94f0b1d1 .git/hooks/pre-commit: line 106: C:/xampp/php/PEAR/PHP/CodeSniffer/Standards/PHP CS: is a directory"
Can anyone help me in same? Thanks in advance