Skip to content

Commit d30627e

Browse files
authored
Revert (partially) "feat: Finder to find dot-files by default in v4/future-mode (#9187)" (#9287)
1 parent 21bae5b commit d30627e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/.php-cs-fixer.dist.php.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ return (new Config())
2323
// ->notPath([/* ... */])
2424
// 💡 extra configs
2525
// ->ignoreDotFiles(false) // true by default in v3, false in v4 or future mode
26-
// ->ignoreVCSIgnored(true) // true by default
26+
// ->ignoreVCS(true) // true by default
2727
)
2828
;

src/Finder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public function __construct()
3434
->files()
3535
->name('/\.php$/')
3636
->exclude('vendor')
37-
->ignoreVCSIgnored(true) // explicitly configure to not rely on Symfony default
3837
->ignoreDotFiles(Future::getV4OrV3(false, true))
38+
->ignoreVCS(true) // explicitly configure to not rely on Symfony default
3939
;
4040
}
4141
}

0 commit comments

Comments
 (0)