summaryrefslogtreecommitdiffstats
path: root/admin/survey/minify/.php_cs
blob: 8edfbaa81aabb5c0626c2e1d4c7f699a87d94536 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

$rules = array(
    '@PSR2' => true,
);

$config = PhpCsFixer\Config::create();
$finder = $config->getFinder();

$finder
    ->in(array('.', 'builder/', 'lib/', 'tests/', 'min_extras/', 'static/'))
    ->name('*.php')
    ->ignoreDotFiles(true)
    ->ignoreVCS(true);

return $config
    ->setUsingCache(true)
    ->setRiskyAllowed(true)
    ->setRules($rules)
    ->setIndent('    ')
    ->setLineEnding("\n");

// vim:ft=php