ignoreDotFiles(false) ->ignoreVCSIgnored(true) ->exclude('scripts/vendor') ->in(__DIR__) ; $config = new PhpCsFixer\Config(); $config ->setRules(array( '@PhpCsFixer' => true, 'array_syntax' => array('syntax' => 'long'), )) ->setFinder($finder) ; return $config;