Mercurial > hg > cmmr2012-drupal-site
comparison vendor/sebastian/diff/.php_cs @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children | 5311817fb629 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 $finder = Symfony\CS\Finder\DefaultFinder::create() | |
3 ->files() | |
4 ->in('src') | |
5 ->in('tests') | |
6 ->name('*.php'); | |
7 | |
8 return 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_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 |