From 28ede54aa77e73d1ee9f7ff02eb91109fdded850 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Fri, 13 Oct 2023 12:01:21 +0800 Subject: [PATCH] Bump to php-cs-fixer v3.35 --- composer.json | 2 +- src/Ruleset/Nexus80.php | 3 ++- src/Ruleset/Nexus81.php | 3 ++- src/Ruleset/Nexus82.php | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index b69be3b..4853bdd 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/src/Ruleset/Nexus80.php b/src/Ruleset/Nexus80.php index afd758a..b33116f 100644 --- a/src/Ruleset/Nexus80.php +++ b/src/Ruleset/Nexus80.php @@ -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', @@ -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', diff --git a/src/Ruleset/Nexus81.php b/src/Ruleset/Nexus81.php index bf62149..06edc83 100644 --- a/src/Ruleset/Nexus81.php +++ b/src/Ruleset/Nexus81.php @@ -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', @@ -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', diff --git a/src/Ruleset/Nexus82.php b/src/Ruleset/Nexus82.php index 2e91957..84242ca 100644 --- a/src/Ruleset/Nexus82.php +++ b/src/Ruleset/Nexus82.php @@ -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', @@ -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',