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 66
77final class PhpCsFixerConfig
88{
9- /**
10- * @return Config
11- */
129 public static function create (array $ extraRules = []): Config
1310 {
1411 return Config::create ()
@@ -44,6 +41,20 @@ public static function create(array $extraRules = []): Config
4441 'strict_param ' => true ,
4542 'trailing_comma_in_multiline_array ' => true ,
4643 '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 ,
4758 ] + $ extraRules
4859 );
4960 }
You can’t perform that action at this time.
0 commit comments