-
Notifications
You must be signed in to change notification settings - Fork 44
fatal: Not a git repository #102
Comments
Try to remove your vendor directory and run composer install again. |
I did, reinstalled composer, and then reinstalled phpsa and I still get the error.
|
This happened to me, too, but I didn't install it through Composer but used phpsa (0.5.0) as phar on my SVN working copy. |
I just uninstalled the composer version and installed the phar version. I get the same error.
Similar errors continue down the screen |
Try to edit phpsa.yml config file and set blame to false. On true it executes git blame --show-email for every shown notice. |
I am new to phar. Where can i find the yml file? I am on OS X. |
It's in the directory of phpsa. It's .phpsa.yml and it's a hidden file (because of the . in front) so you won't see it if you did not configure it. But the configuration there is not working at the moment.
This should remove the git error messages. |
That did it. Thanks. |
closed - not really a bug, blame will be default off with PR from K-Phoen |
When I run phpsa (
>vendor/ovr/phpsa/bin/phpsa check file.php
) I get the findings from the analysis but I also get lines saying:fatal: Not a git repository (or any of the parent directories): .git
. I am new to composer and phpsa so I could have something configured incorrectly. Any help would be great.The text was updated successfully, but these errors were encountered: