You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2021. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
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 your config file. I don't know where it's installed on a Windows machine but you could probably determine the path by running where phpcs in the command shell or which phpcs in gitbash.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: