Skip to content

Commit

Permalink
Bump to php-cs-fixer v3.35
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Oct 13, 2023
1 parent e475a6a commit 28ede54
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require": {
"php": "^8.0.1",
"ext-tokenizer": "*",
"friendsofphp/php-cs-fixer": "^3.34"
"friendsofphp/php-cs-fixer": "^3.35"
},
"require-dev": {
"nexusphp/tachycardia": "^1.4",
Expand Down
3 changes: 2 additions & 1 deletion src/Ruleset/Nexus80.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function __construct()
'fopen_flag_order' => true,
'fopen_flags' => ['b_mode' => true],
'full_opening_tag' => true,
'fully_qualified_strict_types' => true,
'fully_qualified_strict_types' => ['leading_backslash_in_global_namespace' => false],
'function_declaration' => [
'closure_function_spacing' => 'one',
'closure_fn_spacing' => 'none',
Expand Down Expand Up @@ -475,6 +475,7 @@ public function __construct()
],
],
'phpdoc_param_order' => true,
'phpdoc_readonly_class_comment_to_keyword' => false,
'phpdoc_return_self_reference' => [
'replacements' => [
'this' => '$this',
Expand Down
3 changes: 2 additions & 1 deletion src/Ruleset/Nexus81.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function __construct()
'fopen_flag_order' => true,
'fopen_flags' => ['b_mode' => true],
'full_opening_tag' => true,
'fully_qualified_strict_types' => true,
'fully_qualified_strict_types' => ['leading_backslash_in_global_namespace' => false],
'function_declaration' => [
'closure_function_spacing' => 'one',
'closure_fn_spacing' => 'none',
Expand Down Expand Up @@ -475,6 +475,7 @@ public function __construct()
],
],
'phpdoc_param_order' => true,
'phpdoc_readonly_class_comment_to_keyword' => false,
'phpdoc_return_self_reference' => [
'replacements' => [
'this' => '$this',
Expand Down
3 changes: 2 additions & 1 deletion src/Ruleset/Nexus82.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function __construct()
'fopen_flag_order' => true,
'fopen_flags' => ['b_mode' => true],
'full_opening_tag' => true,
'fully_qualified_strict_types' => true,
'fully_qualified_strict_types' => ['leading_backslash_in_global_namespace' => false],
'function_declaration' => [
'closure_function_spacing' => 'one',
'closure_fn_spacing' => 'none',
Expand Down Expand Up @@ -475,6 +475,7 @@ public function __construct()
],
],
'phpdoc_param_order' => true,
'phpdoc_readonly_class_comment_to_keyword' => true,
'phpdoc_return_self_reference' => [
'replacements' => [
'this' => '$this',
Expand Down

0 comments on commit 28ede54

Please sign in to comment.