summaryrefslogtreecommitdiff
path: root/.php_cs.dist
blob: 9607d0ede0910e93cec6673f152a7776c6efc790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
$finder = PhpCsFixer\Finder::create()
    ->notPath('vendor')
    ->in(__DIR__);

return PhpCsFixer\Config::create()
    ->setRules([
        '@PSR1' => true,
        '@PSR2' => true,
        'array_syntax' => ['syntax' => 'short'],
    ])
    ->setFinder($finder)
;