Skip to content

Commit

Permalink
Enhancement: Enable no_trailing_comma_in_singleline_function_call fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Mar 7, 2022
1 parent 74edb44 commit 673cc29
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -11,6 +11,7 @@ For a full diff see [`4.1.0...main`][4.1.0...main].
### Changed

- Updated `friendsofphp/php-cs-fixer` ([#578]), by [@dependabot]
- Enabled `no_trailing_comma_in_singleline_function_call` fixer ([#579]), by [@localheinz]

## [`4.1.0`][4.1.0]

Expand Down Expand Up @@ -588,6 +589,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#566]: https://github.com/ergebnis/php-cs-fixer-config/pull/566
[#567]: https://github.com/ergebnis/php-cs-fixer-config/pull/567
[#578]: https://github.com/ergebnis/php-cs-fixer-config/pull/578
[#579]: https://github.com/ergebnis/php-cs-fixer-config/pull/579

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php74.php
Expand Up @@ -325,7 +325,7 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet
],
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline_function_call' => false,
'no_trailing_comma_in_singleline_function_call' => true,
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'no_trailing_whitespace_in_string' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php80.php
Expand Up @@ -325,7 +325,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
],
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline_function_call' => false,
'no_trailing_comma_in_singleline_function_call' => true,
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'no_trailing_whitespace_in_string' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php81.php
Expand Up @@ -325,7 +325,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet
],
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline_function_call' => false,
'no_trailing_comma_in_singleline_function_call' => true,
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'no_trailing_whitespace_in_string' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php74Test.php
Expand Up @@ -331,7 +331,7 @@ final class Php74Test extends ExplicitRuleSetTestCase
],
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline_function_call' => false,
'no_trailing_comma_in_singleline_function_call' => true,
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'no_trailing_whitespace_in_string' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php80Test.php
Expand Up @@ -331,7 +331,7 @@ final class Php80Test extends ExplicitRuleSetTestCase
],
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline_function_call' => false,
'no_trailing_comma_in_singleline_function_call' => true,
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'no_trailing_whitespace_in_string' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php81Test.php
Expand Up @@ -331,7 +331,7 @@ final class Php81Test extends ExplicitRuleSetTestCase
],
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline_function_call' => false,
'no_trailing_comma_in_singleline_function_call' => true,
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'no_trailing_whitespace_in_string' => true,
Expand Down

0 comments on commit 673cc29

Please sign in to comment.