We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b6eb3e commit 87f413dCopy full SHA for 87f413d
1 file changed
.php-cs-fixer.php
@@ -13,6 +13,7 @@
13
14
use Ergebnis\License;
15
use Ergebnis\PhpCsFixer;
16
+use PhpCsFixer\Finder;
17
18
$license = License\Type\MIT::markdown(
19
__DIR__ . '/LICENSE.md',
@@ -32,17 +33,17 @@
32
33
'fully_qualified_strict_types' => false,
34
]));
35
-$config = PhpCsFixer\Config\Factory::fromRuleSet($ruleSet);
36
-
37
-$config->getFinder()
+$finder = Finder::create()
38
->exclude([
39
'.build/',
40
'.github/',
41
'.note/',
42
])
43
->ignoreDotFiles(false)
44
->in(__DIR__);
+$config = PhpCsFixer\Config\Factory::fromRuleSet($ruleSet);
45
46
$config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/.php-cs-fixer.cache');
47
+$config->setFinder($finder);
48
49
return $config;
0 commit comments