File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
final class PhpCsFixerConfig
8
8
{
9
- /**
10
- * @return Config
11
- */
12
9
public static function create (array $ extraRules = []): Config
13
10
{
14
11
return Config::create ()
@@ -44,6 +41,20 @@ public static function create(array $extraRules = []): Config
44
41
'strict_param ' => true ,
45
42
'trailing_comma_in_multiline_array ' => true ,
46
43
'native_function_invocation ' => true ,
44
+ 'no_php4_constructor ' => true ,
45
+ 'no_short_echo_tag ' => true ,
46
+ 'no_useless_return ' => true ,
47
+ 'php_unit_internal_class ' => true ,
48
+ 'php_unit_method_casing ' => true ,
49
+ 'php_unit_set_up_tear_down_visibility ' => true ,
50
+ 'protected_to_private ' => true ,
51
+ 'simplified_null_return ' => true ,
52
+ 'void_return ' => true ,
53
+ 'combine_nested_dirname ' => true ,
54
+ 'pow_to_exponentiation ' => true ,
55
+ 'random_api_migration ' => true ,
56
+ 'ternary_to_null_coalescing ' => true ,
57
+ 'visibility_required ' => true ,
47
58
] + $ extraRules
48
59
);
49
60
}
You can’t perform that action at this time.
0 commit comments