Skip to content

Commit cf36dc1

Browse files
authored
Merge pull request #24 from ovos/feature/php-cs-fixer-deprecations
feat: php-cs-fixer - removing deprecations
2 parents 7f8e6e0 + 02151f7 commit cf36dc1

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)