aboutsummaryrefslogtreecommitdiff
path: root/.php_cs.dist
blob: b76f08e8bc53e9573d7c6e55cd0f411ac603daeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
$finder = PhpCsFixer\Finder::create()
    ->notPath('/plugin_extradata/')
    ->notPath('/templates/')
    ->notPath('/libs/')
    ->in(__DIR__);

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