mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 23:34:34 +08:00
27 lines
612 B
Plaintext
27 lines
612 B
Plaintext
|
<?php
|
||
|
|
||
|
$header = <<<EOF
|
||
|
This file is part of Flarum.
|
||
|
|
||
|
(c) Toby Zerner <toby.zerner@gmail.com>
|
||
|
|
||
|
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('js')
|
||
|
->exclude('less')
|
||
|
->in(__DIR__);
|
||
|
|
||
|
return Symfony\CS\Config\Config::create()
|
||
|
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
|
||
|
->fixers([
|
||
|
'short_array_syntax',
|
||
|
'header_comment',
|
||
|
'-psr0'
|
||
|
])
|
||
|
->finder($finder);
|