deployer/.php_cs
2016-04-13 08:33:25 +07:00

26 lines
577 B
PHP

<?php
$header = <<<EOF
(c) Anton Medvedev <anton@medv.io>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);
$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude('vendor')
->in(__DIR__);
$fixers = [
'header_comment',
'short_array_syntax',
];
return Symfony\CS\Config\Config::create()
->setUsingCache(true)
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers($fixers)
->finder($finder);