1<?php 2$finder = Symfony\CS\Finder\DefaultFinder::create() 3 ->files() 4 ->in('src') 5 ->in('tests') 6 ->name('*.php'); 7 8return Symfony\CS\Config\Config::create() 9 ->level(\Symfony\CS\FixerInterface::NONE_LEVEL) 10 ->fixers( 11 array( 12 'align_double_arrow', 13 'align_equals', 14 'braces', 15 'concat_with_spaces', 16 'duplicate_semicolon', 17 'elseif', 18 'empty_return', 19 'encoding', 20 'eof_ending', 21 'extra_empty_lines', 22 'function_call_space', 23 'function_declaration', 24 'indentation', 25 'join_function', 26 'line_after_namespace', 27 'linefeed', 28 'list_commas', 29 'lowercase_constants', 30 'lowercase_keywords', 31 'method_argument_space', 32 'multiple_use', 33 'namespace_no_leading_whitespace', 34 'no_blank_lines_after_class_opening', 35 'no_empty_lines_after_phpdocs', 36 'parenthesis', 37 'php_closing_tag', 38 'phpdoc_indent', 39 'phpdoc_no_access', 40 'phpdoc_no_empty_return', 41 'phpdoc_no_package', 42 'phpdoc_params', 43 'phpdoc_scalar', 44 'phpdoc_separation', 45 'phpdoc_to_comment', 46 'phpdoc_trim', 47 'phpdoc_types', 48 'phpdoc_var_without_name', 49 'remove_lines_between_uses', 50 'return', 51 'self_accessor', 52 'short_array_syntax', 53 'short_tag', 54 'single_line_after_imports', 55 'single_quote', 56 'spaces_before_semicolon', 57 'spaces_cast', 58 'ternary_spaces', 59 'trailing_spaces', 60 'trim_array_spaces', 61 'unused_use', 62 'visibility', 63 'whitespacy_lines' 64 ) 65 ) 66 ->finder($finder); 67 68