depage-xmldb v2.3.1
XML documents in a relational database
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 // the fixer is a dev tool and runs on the project's own CI php
10 // versions, which may be newer than the fixer itself supports
11 ->setUnsupportedPhpVersionAllowed(true)
12 ->setRiskyAllowed(false)
13 ->setRules([
14 '@auto' => true
15 ])
16 // 💡 by default, Fixer looks for `*.php` files excluding `./vendor/` - here, you can groom this config
17 ->setFinder(
18 (new Finder())
19 // 💡 root folder to check
20 ->in(__DIR__)
21 // 💡 additional files, eg bin entry file
22 // ->append([__DIR__.'/bin-entry-file'])
23 // 💡 folders to exclude, if any
24 // the doxygen theme is cloned into the repository by "make doc"
25 ->exclude(['Docs/depage-docu'])
26 // 💡 path patterns to exclude, if any
27 // ->notPath([/* ... */])
28 // 💡 extra configs
29 // ->ignoreDotFiles(false) // true by default in v3, false in v4 or future mode
30 // ->ignoreVCS(true) // true by default
31 )
32;