forked from codeigniter4/CodeIgniter4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
65 lines (63 loc) · 1.56 KB
/
.php_cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->in('system');
return Symfony\CS\Config\Config::create()
->level(Symfony\CS\FixerInterface::NONE_LEVEL)
->fixers(array(
'psr0',
'encoding',
'short_tag',
'braces',
'eof_ending',
'line_after_namespace',
'linefeed',
'lowercase_constants',
'lowercase_keywords',
'method_argument_space',
'parenthesis',
'php_closing_tag',
'single_line_after_imports',
'trailing_spaces',
'visibility',
'array_element_no_space_before_comma',
'array_element_white_space_after_comma',
'concat_without_spaces',
'double_arrow_multiline_whitespaces',
'duplicate_semicolon',
'function_typehint_space',
'include',
'multiline_array_trailing_comma',
'no_empty_lines_after_phpdocs',
'object_operator',
'operators_spaces',
'phpdoc_indent',
'phpdoc_no_empty_return',
'phpdoc_params',
'phpdoc_scalar',
'phpdoc_separation',
'phpdoc_to_comment',
'phpdoc_trim',
'phpdoc_type_to_var',
'phpdoc_types',
'print_to_echo',
'remove_leading_slash_use',
'remove_lines_between_uses',
'return',
'single_array_no_trailing_comma',
'spaces_before_semicolon',
'standardize_not_equal',
'ternary_spaces',
'trim_array_spaces',
'unary_operators_spaces',
'unused_use',
'whitespacy_lines',
'align_double_arrow',
'align_equals',
'logical_not_operators_with_successor_space',
'multiline_spaces_before_semicolon',
'no_blank_lines_before_namespace',
'ordered_use',
'phpdoc_order',
'short_array_syntax',
))
->finder($finder);