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 4fd987b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
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, ([#553]), 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
[#553]: https://github.com/ergebnis/php-cs-fixer-config/pull/553

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php80.php
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
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
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
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 4fd987b

Please sign in to comment.