Closed klutt closed 1 year ago
Try running with --debug
to get more details about the commands that the script is trying to run. Currently I believe it will always fail if the current working directory when the command is executed is not a git (or svn, respectively) repository and you're running in automatic mode. (Some of the changes I'm working on right now should make it possible to run phpcs-changed
outside of the repo's path as long as the scanned files are inside the path, but so far that hasn't been implemented.)
Since there's been no activity for a month, I'm going to close this issue for now. Please re-open it if you can give any more details about the problem you saw!
I'm running phpcs-changed in a bitbucket pipeline, and I got an error because it was not a git repository.
The message is
fatal: not a git repository (or any of the parent directories): .git
However, the pipeline passed
(The problem might be somewhere else. I'm still investigating)