0
如何解決這個問題?這最近發生了,現在我不能承諾。錯誤git的承諾「發現錯誤不是可以解決自動」
$ git commit -m "tests"
No syntax errors detected in D:/file.name
Running Code Sniffer...
.git/hooks/pre-commit: line 32: ./vendor/bin/phpcs: Is a directory
Coding standards errors have been detected. Running phpcbf...
.git/hooks/pre-commit: line 36: ./vendor/bin/phpcbf: Is a directory
Running Code Sniffer again...
.git/hooks/pre-commit: line 39: ./vendor/bin/phpcs: Is a directory
Errors found not fixable automatically
謝謝你這麼多,-n解決它。但我不知道爲什麼供應商文件夾被追蹤,因爲它已經被加入.gitignore –
@HeeroYuy我已經編輯了關於'.gitignore'問題的答案。 – VonC
我檢查爲供應商,這是結果'的.gitignore:2:/供應商vendor' –