Skip to content

Commit 9636de7

Browse files
composer(deps): bump friendsofphp/php-cs-fixer from 3.30.0 to 3.34.0 in /vendor-bin/php-cs-fixer (#792)
* composer(deps): bump friendsofphp/php-cs-fixer Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.30.0 to 3.34.0. - [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases) - [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md) - [Commits](PHP-CS-Fixer/PHP-CS-Fixer@v3.30.0...v3.34.0) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix: Configure newly added instead of deprecated fixers --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andreas Möller <[email protected]>
1 parent 27da0b2 commit 9636de7

File tree

3 files changed

+21
-18
lines changed

3 files changed

+21
-18
lines changed

.php-cs-fixer.rules.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
'max_line_breaks' => 2,
3535
'min_line_breaks' => 2,
3636
],
37+
'braces_position' => true,
3738
'cast_spaces' => true,
3839
'class_attributes_separation' => [
3940
'elements' => [
4041
'method' => 'one',
4142
],
4243
],
4344
'combine_nested_dirname' => true,
44-
'compact_nullable_typehint' => true,
45+
'compact_nullable_type_declaration' => true,
4546
'concat_space' => [
4647
'spacing' => 'one',
4748
],
4849
'control_structure_braces' => true,
4950
'control_structure_continuation_position' => true,
50-
'curly_braces_position' => true,
5151
'declare_equal_normalize' => true,
5252
'declare_parentheses' => true,
5353
'general_phpdoc_annotation_remove' => [
@@ -74,7 +74,7 @@
7474
'magic_method_casing' => true,
7575
'modernize_types_casting' => true,
7676
'multiline_comment_opening_closing' => true,
77-
'new_with_braces' => true,
77+
'new_with_parentheses' => true,
7878
'no_alias_functions' => true,
7979
'no_blank_lines_after_class_opening' => true,
8080
'no_blank_lines_after_phpdoc' => true,
@@ -92,8 +92,8 @@
9292
'array',
9393
],
9494
],
95+
'no_unneeded_braces' => true,
9596
'no_unneeded_control_parentheses' => true,
96-
'no_unneeded_curly_braces' => true,
9797
'no_unneeded_final_method' => true,
9898
'no_unreachable_default_argument_value' => true,
9999
'no_unset_cast' => true,

vendor-bin/php-cs-fixer/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^7.4 || ^8.0",
4-
"friendsofphp/php-cs-fixer": "^3.30.0"
4+
"friendsofphp/php-cs-fixer": "^3.34.0"
55
},
66
"config": {
77
"platform": {

vendor-bin/php-cs-fixer/composer.lock

Lines changed: 16 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)