3 use Symfony\CS\Config\Config;
4 use Symfony\CS\FixerInterface;
5 use Symfony\CS\Fixer\Contrib\HeaderCommentFixer;
8 This file is part of Psy Shell.
10 (c) 2012-2017 Justin Hileman
12 For the full copyright and license information, please view the LICENSE
13 file that was distributed with this source code.
16 HeaderCommentFixer::setHeader($header);
18 $config = Config::create()
19 // use symfony level and extra fixers:
20 ->level(FixerInterface::SYMFONY_LEVEL)
28 '-concat_without_spaces',
29 '-method_argument_space',
31 '-unalign_double_arrow',
33 '-no_empty_comment', // stop removing slashes in the middle of multi-line comments
35 ->setUsingLinter(false);
37 $finder = $config->getFinder()
40 ->name('build-manual')
42 ->exclude('build-vendor');