Skip to content

Commit 02151f7

Browse files
committed
feat: php-cs-fixer - removing deprecations
1. Detected deprecations in use: - Rule "braces" is deprecated. Use "single_space_around_construct", "control_structure_braces", "control_structure_continuation_position", "declare_parentheses", "no_multiple_statements_per_line", "curly_braces_position", "statement_indentation" and "no_extra_blank_lines" instead. 2. Detected deprecations in use: - Rule "curly_braces_position" is deprecated. Use "braces_position" instead.
1 parent 8097948 commit 02151f7

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.php-cs-fixer.php

+8-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@
1515
'@Symfony' => true,
1616
'@Symfony:risky' => true,
1717
'array_syntax' => ['syntax' => 'short'],
18-
'braces' => [
19-
'allow_single_line_closure' => true,
20-
],
18+
'single_space_around_construct' => true,
19+
'control_structure_braces' => true,
20+
'control_structure_continuation_position' => true,
21+
'declare_parentheses' => true,
22+
'no_multiple_statements_per_line' => true,
23+
'braces_position' => true,
24+
'statement_indentation' => true,
25+
'no_extra_blank_lines' => true,
2126
'concat_space' => [
2227
'spacing' => 'one',
2328
],

0 commit comments

Comments
 (0)