Skip to content

Commit

Permalink
Enhancement: Configure trailing_comma_in_multiline fixer to include m…
Browse files Browse the repository at this point in the history
…atch in elements option
  • Loading branch information
localheinz committed Jul 11, 2022
1 parent 79116c3 commit 5c8680f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ For a full diff see [`4.4.0...main`][4.4.0...main].
- Enabled `no_useless_nullsafe_operator` fixer ([#623]), by [@localheinz]
- Enabled `statement_indentation` fixer ([#624]), by [@localheinz]
- Configured `no_unneeded_control_parentheses` fixer to include `negative_instanceof` and `others` in the `statements` option ([#625]), by [@localheinz]
- Configured `trailing_comma_in_multiline` fixer to include `match` in the `elements` option ([#626]), by [@localheinz]

## [`4.4.0`][4.4.0]

Expand Down Expand Up @@ -649,6 +650,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#623]: https://github.com/ergebnis/php-cs-fixer-config/pull/623
[#624]: https://github.com/ergebnis/php-cs-fixer-config/pull/624
[#625]: https://github.com/ergebnis/php-cs-fixer-config/pull/625
[#626]: https://github.com/ergebnis/php-cs-fixer-config/pull/626

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
'elements' => [
'arguments',
'arrays',
'match',
'parameters',
],
],
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php81.php
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet
'elements' => [
'arguments',
'arrays',
'match',
'parameters',
],
],
Expand Down
1 change: 1 addition & 0 deletions test/Unit/RuleSet/Php80Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ final class Php80Test extends ExplicitRuleSetTestCase
'elements' => [
'arguments',
'arrays',
'match',
'parameters',
],
],
Expand Down
1 change: 1 addition & 0 deletions test/Unit/RuleSet/Php81Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,7 @@ final class Php81Test extends ExplicitRuleSetTestCase
'elements' => [
'arguments',
'arrays',
'match',
'parameters',
],
],
Expand Down

0 comments on commit 5c8680f

Please sign in to comment.