depage-graphics
Loading...
Searching...
No Matches
.php-cs-fixer.dist.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5use PhpCsFixer\Config;
6use PhpCsFixer\Finder;
7
8return (new Config())
9 ->setRiskyAllowed(false)
10 ->setRules([
11 '@auto' => true
12 ])
13 // 💡 by default, Fixer looks for `*.php` files excluding `./vendor/` - here, you can groom this config
14 ->setFinder(
15 (new Finder())
16 // 💡 root folder to check
17 ->in(__DIR__)
18 // 💡 additional files, eg bin entry file
19 // ->append([__DIR__.'/bin-entry-file'])
20 // 💡 folders to exclude, if any
21 // ->exclude([/* ... */])
22 // 💡 path patterns to exclude, if any
23 // ->notPath([/* ... */])
24 // 💡 extra configs
25 // ->ignoreDotFiles(false) // true by default in v3, false in v4 or future mode
26 // ->ignoreVCS(true) // true by default
27 )
28;