Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Enable get_class_to_class_keyword fixer #553

Merged
merged 1 commit into from Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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