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

CS.

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -187,7 +187,7 @@ final class Config extends PhpCsFixerConfig ...@@ -187,7 +187,7 @@ final class Config extends PhpCsFixerConfig
private static function findGitRepository(string $path): string private static function findGitRepository(string $path): string
{ {
while (!is_dir($path . '/.git') && $path !== '/') { while (!is_dir($path . '/.git') && $path !== '/') {
$path = dirname($path); $path = \dirname($path);
} }
return $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