@@ -83,8 +83,8 @@ public function __construct()
8383 'multi_line_extends_each_single_line ' => true ,
8484 'single_item_single_line ' => true ,
8585 'single_line ' => true ,
86+ 'space_before_parenthesis ' => true ,
8687 ],
87- 'class_keyword_remove ' => false ,
8888 'clean_namespace ' => true ,
8989 'combine_consecutive_issets ' => true ,
9090 'combine_consecutive_unsets ' => true ,
@@ -104,6 +104,7 @@ public function __construct()
104104 'constant_case ' => ['case ' => 'lower ' ],
105105 'date_time_immutable ' => false ,
106106 'declare_equal_normalize ' => ['space ' => 'none ' ],
107+ 'declare_parentheses ' => true ,
107108 'declare_strict_types ' => false ,
108109 'dir_constant ' => true ,
109110 'doctrine_annotation_array_assignment ' => false ,
@@ -116,6 +117,7 @@ public function __construct()
116117 'shorten_simple_statements_only ' => false ,
117118 ],
118119 'elseif ' => true ,
120+ 'empty_loop_body ' => ['style ' => 'braces ' ],
119121 'encoding ' => true ,
120122 'ereg_to_preg ' => true ,
121123 'error_suppression ' => [
@@ -520,6 +522,7 @@ public function __construct()
520522 'elements ' => ['arrays ' ],
521523 ],
522524 'trim_array_spaces ' => true ,
525+ 'types_spaces ' => ['space ' => 'none ' ],
523526 'unary_operator_spaces ' => true ,
524527 'use_arrow_functions ' => false , // requires PHP7.4+
525528 'visibility_required ' => ['elements ' => ['const ' , 'method ' , 'property ' ]],
0 commit comments