Skip to content

Commit

Permalink
Merge pull request #627 from ergebnis/feature/single-space-after-cons…
Browse files Browse the repository at this point in the history
…truct

Enhancement: Configure `single_space_after_construct` fixer to include `type_colon` in `constructs` option
  • Loading branch information
localheinz authored Jul 11, 2022
2 parents e19a0b9 + 4b417b6 commit 76b799e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ For a full diff see [`4.4.0...main`][4.4.0...main].
- 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]
- Configured `single_space_after_construct` fixer to include `type_colon` in the `constructs` option ([#627]), by [@localheinz]

## [`4.4.0`][4.4.0]

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

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet
'throw',
'trait',
'try',
'type_colon',
'use',
'use_lambda',
'use_trait',
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
'throw',
'trait',
'try',
'type_colon',
'use',
'use_lambda',
'use_trait',
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php81.php
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet
'throw',
'trait',
'try',
'type_colon',
'use',
'use_lambda',
'use_trait',
Expand Down
1 change: 1 addition & 0 deletions test/Unit/RuleSet/Php74Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,7 @@ final class Php74Test extends ExplicitRuleSetTestCase
'throw',
'trait',
'try',
'type_colon',
'use',
'use_lambda',
'use_trait',
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 @@ -700,6 +700,7 @@ final class Php80Test extends ExplicitRuleSetTestCase
'throw',
'trait',
'try',
'type_colon',
'use',
'use_lambda',
'use_trait',
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 @@ -703,6 +703,7 @@ final class Php81Test extends ExplicitRuleSetTestCase
'throw',
'trait',
'try',
'type_colon',
'use',
'use_lambda',
'use_trait',
Expand Down

0 comments on commit 76b799e

Please sign in to comment.