. This source file is subject to the license that is bundled with this source code in the file LICENSE. EOF; $finder = PhpCsFixer\Finder::create() ->exclude(['build', 'vendor']) ->in(__DIR__); return PhpCsFixer\Config::create() ->setFinder($finder) ->setUsingCache(true) ->setRules([ '@Symfony' => true, 'header_comment' => ['header' => $header], 'phpdoc_align' => false, 'phpdoc_order' => true, 'ordered_imports' => true, 'array_syntax' => ['syntax' => 'short'], ]);