Skip to content

Commit b8df60d

Browse files
authored
Enhancement: Update friendsofphp/php-cs-fixer (#849)
* Enhancement: Update friendsofphp/php-cs-fixer * Fix: Run 'make coding-standards' * Fix: Do not configure deprecated fixers
1 parent a8c736a commit b8df60d

File tree

5 files changed

+333
-598
lines changed

5 files changed

+333
-598
lines changed

.php-cs-fixer.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,18 @@
3333
],
3434
'indentation_type' => true,
3535
'line_ending' => true,
36-
'new_with_braces' => true,
36+
'new_with_parentheses' => true,
3737
'no_extra_blank_lines' => true,
3838
'no_trailing_whitespace' => true,
3939
'ordered_class_elements' => true,
4040
'random_api_migration' => true,
41-
'single_space_after_construct' => true,
41+
'single_space_around_construct' => [
42+
'constructs_contain_a_single_space' => [
43+
'yield_from',
44+
],
45+
'constructs_preceded_by_a_single_space' => [],
46+
'constructs_followed_by_a_single_space' => [],
47+
],
4248
'strict_param' => true,
4349
'switch_case_space' => true,
4450
'trim_array_spaces' => true,

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"php": "~8.2.0"
1212
},
1313
"require-dev": {
14-
"friendsofphp/php-cs-fixer": "^3.4.0"
14+
"friendsofphp/php-cs-fixer": "^3.40.2"
1515
},
1616
"autoload": {
1717
"psr-4": {

0 commit comments

Comments
 (0)