Skip to content

Commit

Permalink
Enhancement: Enable get_class_to_class_keyword fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 14, 2022
1 parent 71f59d9 commit 2012887
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ For a full diff see [`3.4.0...main`][3.4.0...main].
### Changed

* Updated `friendsofphp/php-cs-fixer` ([#545]), by [@dependabot]
* Enabled `get_class_to_class_keyword` fixer, ([#546]), by [@localheinz]

### Fixed

Expand Down Expand Up @@ -560,6 +561,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#540]: https://github.com/ergebnis/php-cs-fixer-config/pull/540
[#544]: https://github.com/ergebnis/php-cs-fixer-config/pull/544
[#545]: https://github.com/ergebnis/php-cs-fixer-config/pull/545
[#546]: https://github.com/ergebnis/php-cs-fixer-config/pull/546

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
'inheritdocs' => 'inheritdoc',
],
],
'get_class_to_class_keyword' => false,
'get_class_to_class_keyword' => true,
'global_namespace_import' => false,
'group_import' => false,
'header_comment' => false,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php81.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet
'inheritdocs' => 'inheritdoc',
],
],
'get_class_to_class_keyword' => false,
'get_class_to_class_keyword' => true,
'global_namespace_import' => false,
'group_import' => false,
'header_comment' => false,
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 @@ -204,7 +204,7 @@ final class Php80Test extends ExplicitRuleSetTestCase
'inheritdocs' => 'inheritdoc',
],
],
'get_class_to_class_keyword' => false,
'get_class_to_class_keyword' => true,
'global_namespace_import' => false,
'group_import' => false,
'header_comment' => false,
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 @@ -204,7 +204,7 @@ final class Php81Test extends ExplicitRuleSetTestCase
'inheritdocs' => 'inheritdoc',
],
],
'get_class_to_class_keyword' => false,
'get_class_to_class_keyword' => true,
'global_namespace_import' => false,
'group_import' => false,
'header_comment' => false,
Expand Down

0 comments on commit 2012887

Please sign in to comment.