From a52839a8b9d93db27e5888f05fe666623e68b60b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Thu, 3 Sep 2020 11:10:36 +0200 Subject: [PATCH] CS. --- src/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.php b/src/Config.php index f4245f6..67f3b3e 100644 --- a/src/Config.php +++ b/src/Config.php @@ -187,7 +187,7 @@ final class Config extends PhpCsFixerConfig private static function findGitRepository(string $path): string { while (!is_dir($path . '/.git') && $path !== '/') { - $path = dirname($path); + $path = \dirname($path); } return $path; -- GitLab