setFinder( PhpCsFixer\Finder::create() ->exclude('vendor') ->in(__DIR__) ) ->setRules([ '@Laravel' => true, '@Laravel:risky' => true, 'array_syntax' => array('syntax' => 'short'), 'ordered_imports' => true, 'no_useless_else' => true, 'no_useless_return' => true, 'php_unit_construct' => true, 'php_unit_strict' => true, 'yoda_style' => false, ]) ->setRiskyAllowed(true);