Skip to content

Commit

Permalink
Enhancement: Enable single_line_comment_spacing fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Mar 7, 2022
1 parent caef33f commit 22cb17b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ For a full diff see [`4.1.0...main`][4.1.0...main].

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

## [`4.1.0`][4.1.0]

Expand Down Expand Up @@ -590,6 +591,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#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
[#580]: https://github.com/ergebnis/php-cs-fixer-config/pull/580

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet
],
'single_import_per_statement' => true,
'single_line_after_imports' => true,
'single_line_comment_spacing' => false,
'single_line_comment_spacing' => true,
'single_line_comment_style' => [
'comment_types' => [
'hash',
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
],
'single_import_per_statement' => true,
'single_line_after_imports' => true,
'single_line_comment_spacing' => false,
'single_line_comment_spacing' => true,
'single_line_comment_style' => [
'comment_types' => [
'hash',
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php81.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet
],
'single_import_per_statement' => true,
'single_line_after_imports' => true,
'single_line_comment_spacing' => false,
'single_line_comment_spacing' => true,
'single_line_comment_style' => [
'comment_types' => [
'hash',
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php74Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ final class Php74Test extends ExplicitRuleSetTestCase
],
'single_import_per_statement' => true,
'single_line_after_imports' => true,
'single_line_comment_spacing' => false,
'single_line_comment_spacing' => true,
'single_line_comment_style' => [
'comment_types' => [
'hash',
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php80Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ final class Php80Test extends ExplicitRuleSetTestCase
],
'single_import_per_statement' => true,
'single_line_after_imports' => true,
'single_line_comment_spacing' => false,
'single_line_comment_spacing' => true,
'single_line_comment_style' => [
'comment_types' => [
'hash',
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php81Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ final class Php81Test extends ExplicitRuleSetTestCase
],
'single_import_per_statement' => true,
'single_line_after_imports' => true,
'single_line_comment_spacing' => false,
'single_line_comment_spacing' => true,
'single_line_comment_style' => [
'comment_types' => [
'hash',
Expand Down

0 comments on commit 22cb17b

Please sign in to comment.