Skip to content

Commit e8c480b

Browse files
Merge branch '8.5' into 9.6
2 parents 810500e + d3170d5 commit e8c480b

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.php-cs-fixer.dist.php

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
],
3535
],
3636
'blank_line_after_namespace' => true,
37+
'blank_lines_before_namespace' => [
38+
'max_line_breaks' => 1,
39+
'min_line_breaks' => 0,
40+
],
3741
'blank_line_before_statement' => [
3842
'statements' => [
3943
'break',
@@ -98,7 +102,6 @@
98102
'fully_qualified_strict_types' => true,
99103
'function_declaration' => true,
100104
'function_to_constant' => true,
101-
'function_typehint_space' => true,
102105
'global_namespace_import' => [
103106
'import_classes' => true,
104107
'import_constants' => true,
@@ -148,7 +151,6 @@
148151
'no_binary_string' => true,
149152
'no_blank_lines_after_class_opening' => true,
150153
'no_blank_lines_after_phpdoc' => true,
151-
'no_blank_lines_before_namespace' => true,
152154
'no_break_comment' => true,
153155
'no_closing_tag' => true,
154156
'no_empty_comment' => true,
@@ -168,7 +170,6 @@
168170
'no_space_around_double_colon' => true,
169171
'no_spaces_after_function_name' => true,
170172
'no_spaces_around_offset' => true,
171-
'no_spaces_inside_parenthesis' => true,
172173
'no_superfluous_elseif' => true,
173174
'no_superfluous_phpdoc_tags' => [
174175
'allow_mixed' => true,
@@ -293,6 +294,9 @@
293294
'single_space_around_construct' => true,
294295
'single_trait_insert_per_statement' => true,
295296
'space_after_semicolon' => true,
297+
'spaces_inside_parentheses' => [
298+
'space' => 'none',
299+
],
296300
'standardize_increment' => true,
297301
'standardize_not_equals' => true,
298302
'statement_indentation' => true,
@@ -313,6 +317,12 @@
313317
]
314318
],
315319
'trim_array_spaces' => true,
320+
'type_declaration_spaces' => [
321+
'elements' => [
322+
'function',
323+
],
324+
],
325+
'types_spaces' => true,
316326
'unary_operator_spaces' => true,
317327
'visibility_required' => [
318328
'elements' => [

0 commit comments

Comments
 (0)