Skip to content

Commit b3e7e35

Browse files
Backport cache directory configuration change
1 parent b5866c1 commit b3e7e35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.php-cs-fixer.dist.php

+2
Original file line numberDiff line numberDiff line change
@@ -315,4 +315,6 @@
315315
'whitespace_after_comma_in_array' => true,
316316
]);
317317

318+
$config->setCacheFile(__DIR__ . '/.php-cs-fixer.cache/' . sha1(@trim((string) @shell_exec('git rev-parse --abbrev-ref HEAD'))));
319+
318320
return $config;

0 commit comments

Comments
 (0)