You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
867 B
28 lines
867 B
<?php |
|
|
|
declare(strict_types=1); |
|
|
|
use PhpCsFixer\Config; |
|
use PhpCsFixer\Finder; |
|
|
|
return (new Config()) |
|
->setRiskyAllowed(false) |
|
->setRules([ |
|
'@auto' => true |
|
]) |
|
// 💡 by default, Fixer looks for `*.php` files excluding `./vendor/` - here, you can groom this config |
|
->setFinder( |
|
(new Finder()) |
|
// 💡 root folder to check |
|
->in(__DIR__) |
|
// 💡 additional files, eg bin entry file |
|
// ->append([__DIR__.'/bin-entry-file']) |
|
// 💡 folders to exclude, if any |
|
// ->exclude([/* ... */]) |
|
// 💡 path patterns to exclude, if any |
|
// ->notPath([/* ... */]) |
|
// 💡 extra configs |
|
// ->ignoreDotFiles(false) // true by default in v3, false in v4 or future mode |
|
// ->ignoreVCS(true) // true by default |
|
) |
|
;
|
|
|