in(__DIR__ . '/src') ->in(__DIR__ . '/tests'); return PhpCsFixer\Config::create() ->setRules([ '@PSR2' => true, '@PhpCsFixer' => true, 'array_syntax' => [ 'syntax' => 'short', ], 'blank_line_after_opening_tag' => false, 'blank_line_before_statement' => [ 'statements' => [], ], 'concat_space' => [ 'spacing' => 'one', ], 'increment_style' => [ 'style' => 'post', ], 'no_multiline_whitespace_before_semicolons' => true, 'no_superfluous_phpdoc_tags' => true, 'ordered_class_elements' => false, 'php_unit_internal_class' => false, 'php_unit_test_class_requires_covers' => false, 'phpdoc_align' => [ 'align' => 'left', ], 'phpdoc_separation' => false, 'phpdoc_to_comment' => false, 'phpdoc_var_without_name' => false, 'single_blank_line_before_namespace' => false, 'yoda_style' => false, ]) ->setFinder($finder);