mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 17:22:41 +01:00
26 lines
577 B
PHP
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);
|