in('src') ->in('tests'); return PhpCsFixer\Config::create() ->setRiskyAllowed(true) ->setRules([ '@PSR2' => true, '@Symfony' => true, 'strict_param' => true, 'array_syntax' => ['syntax' => 'short'], 'declare_strict_types' => false, // true 'no_empty_phpdoc' => true, 'no_superfluous_phpdoc_tags' => false, // true 'header_comment' => [ 'commentType' => 'comment', 'header' => $header, 'location' => 'after_declare_strict', 'separate' => 'both', ], ]) ->setFinder($finder) ;