Skip to content

Commit

Permalink
Merge pull request #1011 from ergebnis/fix/fully-qualified-strict-types
Browse files Browse the repository at this point in the history
Fix: Disable `fully_qualified_strict_types` fixer
  • Loading branch information
localheinz authored Feb 6, 2024
2 parents e9f8d41 + 7b9147d commit ce08c97
Show file tree
Hide file tree
Showing 27 changed files with 28 additions and 676 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down Expand Up @@ -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
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php53.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php54.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php55.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php56.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php70.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php71.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php72.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
27 changes: 1 addition & 26 deletions src/RuleSet/Php81.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Loading

0 comments on commit ce08c97

Please sign in to comment.