This source file is subject to the MIT license that is bundled with this source code in the file LICENSE. EOF; $finder = PhpCsFixer\Finder::create() ->in([__DIR__ . '/src', __DIR__ . '/Tests']); return PhpCsFixer\Config::create() ->setRules([ '@PSR2' => true, 'array_syntax' => array('syntax' => 'long'), 'header_comment' => [ 'header' => $header ], ]) ->setFinder($finder);