Ener-Getick 6ff6f2b345
Fix CS
2016-07-30 20:04:03 +02:00

28 lines
626 B
PHP

<?php
use Symfony\CS\Config\Config;
use Symfony\CS\Finder\DefaultFinder;
use Symfony\CS\Fixer\Contrib\HeaderCommentFixer;
use Symfony\CS\FixerInterface;
$finder = DefaultFinder::create()
->in(__DIR__)
;
$header = <<<EOF
This file is part of the ApiDocBundle package.
(c) EXSyst
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
HeaderCommentFixer::setHeader($header);
return Config::create()
->level(FixerInterface::SYMFONY_LEVEL)
->fixers(['header_comment', 'short_array_syntax'])
->finder($finder)
->setUsingCache(true)
;