From 7b9147d17b5b3ab9b0067105190f0161accd15e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 6 Feb 2024 11:57:14 +0100 Subject: [PATCH] Fix: Disable fully_qualified_strict_types fixer --- CHANGELOG.md | 2 ++ src/RuleSet/Php53.php | 27 +-------------------------- src/RuleSet/Php54.php | 27 +-------------------------- src/RuleSet/Php55.php | 27 +-------------------------- src/RuleSet/Php56.php | 27 +-------------------------- src/RuleSet/Php70.php | 27 +-------------------------- src/RuleSet/Php71.php | 27 +-------------------------- src/RuleSet/Php72.php | 27 +-------------------------- src/RuleSet/Php73.php | 27 +-------------------------- src/RuleSet/Php74.php | 27 +-------------------------- src/RuleSet/Php80.php | 27 +-------------------------- src/RuleSet/Php81.php | 27 +-------------------------- src/RuleSet/Php82.php | 27 +-------------------------- src/RuleSet/Php83.php | 27 +-------------------------- test/Unit/RuleSet/Php53Test.php | 27 +-------------------------- test/Unit/RuleSet/Php54Test.php | 27 +-------------------------- test/Unit/RuleSet/Php55Test.php | 27 +-------------------------- test/Unit/RuleSet/Php56Test.php | 27 +-------------------------- test/Unit/RuleSet/Php70Test.php | 27 +-------------------------- test/Unit/RuleSet/Php71Test.php | 27 +-------------------------- test/Unit/RuleSet/Php72Test.php | 27 +-------------------------- test/Unit/RuleSet/Php73Test.php | 27 +-------------------------- test/Unit/RuleSet/Php74Test.php | 27 +-------------------------- test/Unit/RuleSet/Php80Test.php | 27 +-------------------------- test/Unit/RuleSet/Php81Test.php | 27 +-------------------------- test/Unit/RuleSet/Php82Test.php | 27 +-------------------------- test/Unit/RuleSet/Php83Test.php | 27 +-------------------------- 27 files changed, 28 insertions(+), 676 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20f32a4f..38d044a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ For a full diff see [`6.21.0...main`][6.21.0...main]. ### Changed - Updated `kubawerlos/php-cs-fixer-custom-fixers` ([#1009]), by [@dependabot] +- Disabled the `fully_qualified_strict_types` fixer ([#1010]), by [@localheinz] ## [`6.21.0`][6.21.0] @@ -1539,6 +1540,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0]. [#997]: https://github.com/ergebnis/php-cs-fixer-config/pull/997 [#1005]: https://github.com/ergebnis/php-cs-fixer-config/pull/1005 [#1009]: https://github.com/ergebnis/php-cs-fixer-config/pull/1009 +[#1010]: https://github.com/ergebnis/php-cs-fixer-config/pull/1010 [@dependabot]: https://github.com/apps/dependabot [@linuxjuggler]: https://github.com/linuxjuggler diff --git a/src/RuleSet/Php53.php b/src/RuleSet/Php53.php index 424e6d00..76372dd5 100644 --- a/src/RuleSet/Php53.php +++ b/src/RuleSet/Php53.php @@ -222,32 +222,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php54.php b/src/RuleSet/Php54.php index b3a49554..31c3ae73 100644 --- a/src/RuleSet/Php54.php +++ b/src/RuleSet/Php54.php @@ -223,32 +223,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php55.php b/src/RuleSet/Php55.php index 65b796a1..77c8404d 100644 --- a/src/RuleSet/Php55.php +++ b/src/RuleSet/Php55.php @@ -225,32 +225,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php56.php b/src/RuleSet/Php56.php index d7bbf176..dc3cbabc 100644 --- a/src/RuleSet/Php56.php +++ b/src/RuleSet/Php56.php @@ -225,32 +225,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php70.php b/src/RuleSet/Php70.php index baeaeb2a..49ac98e6 100644 --- a/src/RuleSet/Php70.php +++ b/src/RuleSet/Php70.php @@ -225,32 +225,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php71.php b/src/RuleSet/Php71.php index 40a05497..ba564826 100644 --- a/src/RuleSet/Php71.php +++ b/src/RuleSet/Php71.php @@ -225,32 +225,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php72.php b/src/RuleSet/Php72.php index 31a21547..adc3e743 100644 --- a/src/RuleSet/Php72.php +++ b/src/RuleSet/Php72.php @@ -225,32 +225,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php73.php b/src/RuleSet/Php73.php index 93a8189c..ecb8047c 100644 --- a/src/RuleSet/Php73.php +++ b/src/RuleSet/Php73.php @@ -225,32 +225,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php74.php b/src/RuleSet/Php74.php index 600111c6..b1247f1c 100644 --- a/src/RuleSet/Php74.php +++ b/src/RuleSet/Php74.php @@ -225,32 +225,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php80.php b/src/RuleSet/Php80.php index f7b6ea18..8ba374ff 100644 --- a/src/RuleSet/Php80.php +++ b/src/RuleSet/Php80.php @@ -232,32 +232,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php81.php b/src/RuleSet/Php81.php index 5c0146ab..a1e165ca 100644 --- a/src/RuleSet/Php81.php +++ b/src/RuleSet/Php81.php @@ -233,32 +233,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php82.php b/src/RuleSet/Php82.php index 315dfaff..bf07b50f 100644 --- a/src/RuleSet/Php82.php +++ b/src/RuleSet/Php82.php @@ -233,32 +233,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/src/RuleSet/Php83.php b/src/RuleSet/Php83.php index 3d463d59..b493dad1 100644 --- a/src/RuleSet/Php83.php +++ b/src/RuleSet/Php83.php @@ -233,32 +233,7 @@ public static function create(): RuleSet 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php53Test.php b/test/Unit/RuleSet/Php53Test.php index 459b150c..015fbe73 100644 --- a/test/Unit/RuleSet/Php53Test.php +++ b/test/Unit/RuleSet/Php53Test.php @@ -245,32 +245,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php54Test.php b/test/Unit/RuleSet/Php54Test.php index cb38605c..a3bac55a 100644 --- a/test/Unit/RuleSet/Php54Test.php +++ b/test/Unit/RuleSet/Php54Test.php @@ -246,32 +246,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php55Test.php b/test/Unit/RuleSet/Php55Test.php index bffebb86..2286d04b 100644 --- a/test/Unit/RuleSet/Php55Test.php +++ b/test/Unit/RuleSet/Php55Test.php @@ -248,32 +248,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php56Test.php b/test/Unit/RuleSet/Php56Test.php index 7fd860a3..5f01f1c4 100644 --- a/test/Unit/RuleSet/Php56Test.php +++ b/test/Unit/RuleSet/Php56Test.php @@ -248,32 +248,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php70Test.php b/test/Unit/RuleSet/Php70Test.php index 0906bdd9..10292754 100644 --- a/test/Unit/RuleSet/Php70Test.php +++ b/test/Unit/RuleSet/Php70Test.php @@ -248,32 +248,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php71Test.php b/test/Unit/RuleSet/Php71Test.php index 80c1aedf..5cc47eff 100644 --- a/test/Unit/RuleSet/Php71Test.php +++ b/test/Unit/RuleSet/Php71Test.php @@ -248,32 +248,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php72Test.php b/test/Unit/RuleSet/Php72Test.php index abdb45aa..60c7d9d9 100644 --- a/test/Unit/RuleSet/Php72Test.php +++ b/test/Unit/RuleSet/Php72Test.php @@ -248,32 +248,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php73Test.php b/test/Unit/RuleSet/Php73Test.php index 9927c93f..d7cd06d3 100644 --- a/test/Unit/RuleSet/Php73Test.php +++ b/test/Unit/RuleSet/Php73Test.php @@ -248,32 +248,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php74Test.php b/test/Unit/RuleSet/Php74Test.php index 2159d82a..fc4da4c9 100644 --- a/test/Unit/RuleSet/Php74Test.php +++ b/test/Unit/RuleSet/Php74Test.php @@ -248,32 +248,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php80Test.php b/test/Unit/RuleSet/Php80Test.php index a45957cb..82c292dc 100644 --- a/test/Unit/RuleSet/Php80Test.php +++ b/test/Unit/RuleSet/Php80Test.php @@ -255,32 +255,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php81Test.php b/test/Unit/RuleSet/Php81Test.php index 104f3ef0..be2e6545 100644 --- a/test/Unit/RuleSet/Php81Test.php +++ b/test/Unit/RuleSet/Php81Test.php @@ -256,32 +256,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php82Test.php b/test/Unit/RuleSet/Php82Test.php index 72836630..fc4b5771 100644 --- a/test/Unit/RuleSet/Php82Test.php +++ b/test/Unit/RuleSet/Php82Test.php @@ -256,32 +256,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one', diff --git a/test/Unit/RuleSet/Php83Test.php b/test/Unit/RuleSet/Php83Test.php index 9009949f..2f9ba2a3 100644 --- a/test/Unit/RuleSet/Php83Test.php +++ b/test/Unit/RuleSet/Php83Test.php @@ -256,32 +256,7 @@ protected function expectedRules(): Rules 'b_mode' => true, ], 'full_opening_tag' => true, - 'fully_qualified_strict_types' => [ - 'import_symbols' => false, - 'leading_backslash_in_global_namespace' => false, - 'phpdoc_tags' => [ - 'param', - 'phpstan-param', - 'phpstan-property', - 'phpstan-property-read', - 'phpstan-property-write', - 'phpstan-return', - 'phpstan-var', - 'property', - 'property-read', - 'property-write', - 'psalm-param', - 'psalm-property', - 'psalm-property-read', - 'psalm-property-write', - 'psalm-return', - 'psalm-var', - 'return', - 'see', - 'throws', - 'var', - ], - ], + 'fully_qualified_strict_types' => false, 'function_declaration' => [ 'closure_fn_spacing' => 'one', 'closure_function_spacing' => 'one',