Skip to content

Commit

Permalink
Merge pull request #566 from ergebnis/feature/class-reference-name-ca…
Browse files Browse the repository at this point in the history
…sing

Enhancement: Enable `class_reference_name_casing` fixer
  • Loading branch information
localheinz committed Feb 7, 2022
2 parents 84810dd + ec3a73a commit b3229ea
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -11,6 +11,7 @@ For a full diff see [`4.0.0...main`][4.0.0...main].
### Changed

- Updated `friendsofphp/php-cs-fixer` ([#565]), by [@dependabot]
- Enabled `class_reference_name_casing` fixer, ([#566]), by [@localheinz]

## [`4.0.0`][4.0.0]

Expand Down Expand Up @@ -573,6 +574,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#545]: https://github.com/ergebnis/php-cs-fixer-config/pull/545
[#553]: https://github.com/ergebnis/php-cs-fixer-config/pull/553
[#565]: https://github.com/ergebnis/php-cs-fixer-config/pull/565
[#566]: https://github.com/ergebnis/php-cs-fixer-config/pull/566

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php74.php
Expand Up @@ -81,7 +81,7 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet
'single_line' => false,
'space_before_parenthesis' => false,
],
'class_reference_name_casing' => false,
'class_reference_name_casing' => true,
'clean_namespace' => true,
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php80.php
Expand Up @@ -81,7 +81,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
'single_line' => false,
'space_before_parenthesis' => false,
],
'class_reference_name_casing' => false,
'class_reference_name_casing' => true,
'clean_namespace' => true,
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php81.php
Expand Up @@ -81,7 +81,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet
'single_line' => false,
'space_before_parenthesis' => false,
],
'class_reference_name_casing' => false,
'class_reference_name_casing' => true,
'clean_namespace' => true,
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php74Test.php
Expand Up @@ -87,7 +87,7 @@ final class Php74Test extends ExplicitRuleSetTestCase
'single_line' => false,
'space_before_parenthesis' => false,
],
'class_reference_name_casing' => false,
'class_reference_name_casing' => true,
'clean_namespace' => true,
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php80Test.php
Expand Up @@ -87,7 +87,7 @@ final class Php80Test extends ExplicitRuleSetTestCase
'single_line' => false,
'space_before_parenthesis' => false,
],
'class_reference_name_casing' => false,
'class_reference_name_casing' => true,
'clean_namespace' => true,
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php81Test.php
Expand Up @@ -87,7 +87,7 @@ final class Php81Test extends ExplicitRuleSetTestCase
'single_line' => false,
'space_before_parenthesis' => false,
],
'class_reference_name_casing' => false,
'class_reference_name_casing' => true,
'clean_namespace' => true,
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
Expand Down

0 comments on commit b3229ea

Please sign in to comment.