Skip to content

Commit

Permalink
Merge pull request #967 from ergebnis/dependabot/composer/friendsofph…
Browse files Browse the repository at this point in the history
…p/php-cs-fixer-3.43.0

composer(deps): Bump friendsofphp/php-cs-fixer from 3.42.0 to 3.43.0
  • Loading branch information
localheinz authored Dec 28, 2023
2 parents 00f89ec + 2f50a03 commit 1e7d6bb
Show file tree
Hide file tree
Showing 29 changed files with 742 additions and 61 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`6.15.0...main`][6.15.0...main].

### Changed

- Updated `friendsofphp/php-cs-fixer` ([#967]), by [@dependabot]

## [`6.15.0`][6.15.0]

For a full diff see [`6.14.0...6.15.0`][6.14.0...6.15.0].
Expand Down Expand Up @@ -1430,6 +1434,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#956]: https://github.com/ergebnis/php-cs-fixer-config/pull/956
[#962]: https://github.com/ergebnis/php-cs-fixer-config/pull/962
[#963]: https://github.com/ergebnis/php-cs-fixer-config/pull/963
[#967]: https://github.com/ergebnis/php-cs-fixer-config/pull/967

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-filter": "*",
"erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1",
"friendsofphp/php-cs-fixer": "~3.42.0",
"friendsofphp/php-cs-fixer": "~3.43.0",
"kubawerlos/php-cs-fixer-custom-fixers": "~3.17.1"
},
"require-dev": {
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 28 additions & 2 deletions src/RuleSet/Php53.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,28 @@ public static function create(): RuleSet
'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',
],
],
'function_declaration' => [
'closure_fn_spacing' => 'one',
Expand Down Expand Up @@ -795,7 +817,9 @@ public static function create(): RuleSet
],
'standardize_increment' => true,
'standardize_not_equals' => true,
'statement_indentation' => true,
'statement_indentation' => [
'stick_comment_to_next_continuous_control_statement' => false,
],
'static_lambda' => true,
'strict_comparison' => true,
'strict_param' => true,
Expand Down Expand Up @@ -823,7 +847,9 @@ public static function create(): RuleSet
'space' => 'none',
'space_multiple_catch' => 'none',
],
'unary_operator_spaces' => true,
'unary_operator_spaces' => [
'only_dec_inc' => false,
],
'use_arrow_functions' => false,
'visibility_required' => [
'elements' => [
Expand Down
30 changes: 28 additions & 2 deletions src/RuleSet/Php54.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,28 @@ public static function create(): RuleSet
'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',
],
],
'function_declaration' => [
'closure_fn_spacing' => 'one',
Expand Down Expand Up @@ -797,7 +819,9 @@ public static function create(): RuleSet
],
'standardize_increment' => true,
'standardize_not_equals' => true,
'statement_indentation' => true,
'statement_indentation' => [
'stick_comment_to_next_continuous_control_statement' => false,
],
'static_lambda' => true,
'strict_comparison' => true,
'strict_param' => true,
Expand Down Expand Up @@ -825,7 +849,9 @@ public static function create(): RuleSet
'space' => 'none',
'space_multiple_catch' => 'none',
],
'unary_operator_spaces' => true,
'unary_operator_spaces' => [
'only_dec_inc' => false,
],
'use_arrow_functions' => false,
'visibility_required' => [
'elements' => [
Expand Down
30 changes: 28 additions & 2 deletions src/RuleSet/Php55.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,28 @@ public static function create(): RuleSet
'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',
],
],
'function_declaration' => [
'closure_fn_spacing' => 'one',
Expand Down Expand Up @@ -808,7 +830,9 @@ public static function create(): RuleSet
],
'standardize_increment' => true,
'standardize_not_equals' => true,
'statement_indentation' => true,
'statement_indentation' => [
'stick_comment_to_next_continuous_control_statement' => false,
],
'static_lambda' => true,
'strict_comparison' => true,
'strict_param' => true,
Expand Down Expand Up @@ -836,7 +860,9 @@ public static function create(): RuleSet
'space' => 'none',
'space_multiple_catch' => 'none',
],
'unary_operator_spaces' => true,
'unary_operator_spaces' => [
'only_dec_inc' => false,
],
'use_arrow_functions' => false,
'visibility_required' => [
'elements' => [
Expand Down
30 changes: 28 additions & 2 deletions src/RuleSet/Php56.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,28 @@ public static function create(): RuleSet
'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',
],
],
'function_declaration' => [
'closure_fn_spacing' => 'one',
Expand Down Expand Up @@ -808,7 +830,9 @@ public static function create(): RuleSet
],
'standardize_increment' => true,
'standardize_not_equals' => true,
'statement_indentation' => true,
'statement_indentation' => [
'stick_comment_to_next_continuous_control_statement' => false,
],
'static_lambda' => true,
'strict_comparison' => true,
'strict_param' => true,
Expand Down Expand Up @@ -836,7 +860,9 @@ public static function create(): RuleSet
'space' => 'none',
'space_multiple_catch' => 'none',
],
'unary_operator_spaces' => true,
'unary_operator_spaces' => [
'only_dec_inc' => false,
],
'use_arrow_functions' => false,
'visibility_required' => [
'elements' => [
Expand Down
30 changes: 28 additions & 2 deletions src/RuleSet/Php70.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,28 @@ public static function create(): RuleSet
'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',
],
],
'function_declaration' => [
'closure_fn_spacing' => 'one',
Expand Down Expand Up @@ -808,7 +830,9 @@ public static function create(): RuleSet
],
'standardize_increment' => true,
'standardize_not_equals' => true,
'statement_indentation' => true,
'statement_indentation' => [
'stick_comment_to_next_continuous_control_statement' => false,
],
'static_lambda' => true,
'strict_comparison' => true,
'strict_param' => true,
Expand Down Expand Up @@ -836,7 +860,9 @@ public static function create(): RuleSet
'space' => 'none',
'space_multiple_catch' => 'none',
],
'unary_operator_spaces' => true,
'unary_operator_spaces' => [
'only_dec_inc' => false,
],
'use_arrow_functions' => false,
'visibility_required' => [
'elements' => [
Expand Down
30 changes: 28 additions & 2 deletions src/RuleSet/Php71.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,28 @@ public static function create(): RuleSet
'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',
],
],
'function_declaration' => [
'closure_fn_spacing' => 'one',
Expand Down Expand Up @@ -810,7 +832,9 @@ public static function create(): RuleSet
],
'standardize_increment' => true,
'standardize_not_equals' => true,
'statement_indentation' => true,
'statement_indentation' => [
'stick_comment_to_next_continuous_control_statement' => false,
],
'static_lambda' => true,
'strict_comparison' => true,
'strict_param' => true,
Expand Down Expand Up @@ -838,7 +862,9 @@ public static function create(): RuleSet
'space' => 'none',
'space_multiple_catch' => 'none',
],
'unary_operator_spaces' => true,
'unary_operator_spaces' => [
'only_dec_inc' => false,
],
'use_arrow_functions' => false,
'visibility_required' => [
'elements' => [
Expand Down
Loading

0 comments on commit 1e7d6bb

Please sign in to comment.