Commit 2384019f authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Corrige le bug de détection du dépôt Git.

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -187,7 +187,7 @@ final class Config extends PhpCsFixerConfig
private static function findGitRepository(string $path): string
{
while (!is_dir($path . '/.git') && $path !== '/') {
$path = basename($path);
$path = dirname($path);
}
return $path;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment