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