@@ -172,7 +172,6 @@ public function __construct()
172172 'pi ' ,
173173 ],
174174 ],
175- 'function_typehint_space ' => true ,
176175 'general_phpdoc_annotation_remove ' => [
177176 'annotations ' => [
178177 'author ' ,
@@ -304,6 +303,7 @@ public function __construct()
304303 'normalize_index_brace ' => true ,
305304 'not_operator_with_space ' => false ,
306305 'not_operator_with_successor_space ' => true ,
306+ 'nullable_type_declaration ' => false , // requires 8.0+
307307 'nullable_type_declaration_for_default_null_value ' => ['use_nullable_type_declaration ' => true ],
308308 'object_operator_without_whitespace ' => true ,
309309 'octal_notation ' => false , // requires 8.1+
@@ -333,6 +333,7 @@ public function __construct()
333333 'assertNotSame ' ,
334334 ],
335335 ],
336+ 'php_unit_data_provider_name ' => false ,
336337 'php_unit_data_provider_static ' => false ,
337338 'php_unit_dedicate_assert ' => ['target ' => 'newest ' ],
338339 'php_unit_dedicate_assert_internal_type ' => ['target ' => 'newest ' ],
@@ -599,8 +600,9 @@ public function __construct()
599600 'after_heredoc ' => true ,
600601 'elements ' => ['arrays ' ],
601602 ],
602- 'trim_array_spaces ' => true ,
603- 'types_spaces ' => [
603+ 'trim_array_spaces ' => true ,
604+ 'type_declaration_spaces ' => ['elements ' => ['function ' , 'property ' ]],
605+ 'types_spaces ' => [
604606 'space ' => 'none ' ,
605607 'space_multiple_catch ' => 'none ' ,
606608 ],
0 commit comments