@@ -14,21 +14,31 @@ return PhpCsFixer\Config::create()
14
14
'syntax ' => 'short ' ,
15
15
],
16
16
'binary_operator_spaces ' => true ,
17
+ 'blank_line_after_opening_tag ' => true ,
17
18
'blank_line_before_return ' => true ,
19
+ 'cast_spaces ' => [
20
+ 'space ' => 'none ' ,
21
+ ],
22
+ 'compact_nullable_typehint ' => true ,
18
23
'concat_space ' => [
19
24
'spacing ' => 'one ' ,
20
25
],
26
+ 'declare_equal_normalize ' => [
27
+ 'space ' => 'none '
28
+ ],
29
+ 'declare_strict_types ' => true ,
21
30
'function_typehint_space ' => true ,
22
31
'hash_to_slash_comment ' => true ,
23
32
'linebreak_after_opening_tag ' => true ,
24
33
'lowercase_cast ' => true ,
34
+ 'lowercase_constants ' => true ,
35
+ 'lowercase_static_reference ' => true ,
25
36
'method_separation ' => true ,
26
37
'native_function_casing ' => true ,
27
38
'new_with_braces ' => true ,
39
+ 'no_alias_functions ' => true ,
28
40
'no_blank_lines_after_class_opening ' => true ,
29
41
'no_blank_lines_after_phpdoc ' => true ,
30
- 'no_blank_lines_before_namespace ' => true ,
31
- 'no_alias_functions ' => true ,
32
42
'no_empty_comment ' => true ,
33
43
'no_empty_phpdoc ' => true ,
34
44
'no_empty_statement ' => true ,
@@ -62,7 +72,9 @@ return PhpCsFixer\Config::create()
62
72
'no_useless_return ' => true ,
63
73
'no_whitespace_before_comma_in_array ' => true ,
64
74
'no_whitespace_in_blank_line ' => true ,
75
+ 'non_printable_character ' => true ,
65
76
'normalize_index_brace ' => true ,
77
+ 'object_operator_without_whitespace ' => true ,
66
78
'ordered_imports ' => true ,
67
79
'phpdoc_add_missing_param_annotation ' => true ,
68
80
'phpdoc_annotation_without_dot ' => true ,
@@ -74,9 +86,13 @@ return PhpCsFixer\Config::create()
74
86
'phpdoc_single_line_var_spacing ' => true ,
75
87
'phpdoc_trim ' => true ,
76
88
'phpdoc_types ' => true ,
89
+ 'self_accessor ' => true ,
77
90
'phpdoc_var_without_name ' => true ,
91
+ 'return_type_declaration ' => ['space_before ' => 'none ' ],
78
92
'short_scalar_cast ' => true ,
93
+ 'single_blank_line_before_namespace ' => true ,
79
94
'single_quote ' => true ,
95
+ 'single_trait_insert_per_statement ' => true ,
80
96
'standardize_not_equals ' => true ,
81
97
'ternary_operator_spaces ' => true ,
82
98
'trailing_comma_in_multiline_array ' => true ,
@@ -86,5 +102,4 @@ return PhpCsFixer\Config::create()
86
102
PhpCsFixer \Finder::create ()
87
103
->in (__DIR__ )
88
104
->exclude ('.Build ' )
89
- ->notName ('ext_emconf.php ' )
90
105
);
0 commit comments