* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Symfony\CS\Fixer\Contrib\HeaderCommentFixer; $header = << For the full copyright and license information, please view the LICENSE file that was distributed with this source code. EOF; return PhpCsFixer\Config::create() ->setRules([ '@PSR2' => true, 'array_syntax' => ['syntax' => 'short'], 'no_unreachable_default_argument_value' => false, 'heredoc_to_nowdoc' => false, 'header_comment' => ['header' => $header], ]) ->setRiskyAllowed(true) ->setFinder( PhpCsFixer\Finder::create() ->in(__DIR__) ->exclude(['vendor']) ) ;