Skip to content

Commit 8d67b00

Browse files
authored
[ci] fix wrong tmp path in php-cs-fixer config (#323)
finder `exclude` paths must be relative to the `in` paths. This prevents php-cs-fixer from attempting to scan/fix files in `tests/tmp/cache/etc...`
1 parent b64c0bb commit 8d67b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
$finder = (new PhpCsFixer\Finder())
88
->in([__DIR__.'/src', __DIR__.'/tests'])
99
->exclude([
10-
__DIR__.'tests/tmp'
10+
'tmp'
1111
])
1212
;
1313

0 commit comments

Comments
 (0)