mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-03 08:09:25 +03:00
28 lines
631 B
Plaintext
28 lines
631 B
Plaintext
|
<?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(array('align_double_arrow', 'header_comment'))
|
||
|
->finder($finder)
|
||
|
->setUsingCache(true)
|
||
|
;
|