Skip to content

Commit

Permalink
Merge pull request #764 from ergebnis/fix/php-unit-internal-class
Browse files Browse the repository at this point in the history
Fix: Disable `php_unit_internal_class` fixer
  • Loading branch information
localheinz committed Apr 27, 2023
2 parents da3b876 + 3fce78c commit 1bed7ee
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 42 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`5.5.0...main`][5.5.0...main].

### Changed

- Disabled `php_unit_internal_class` fixer ([#764]), by [@localheinz]


## [`5.5.0`][5.5.0]

For a full diff see [`5.4.0...5.5.0`][5.4.0...5.5.0].
Expand Down Expand Up @@ -915,6 +920,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#747]: https://github.com/ergebnis/php-cs-fixer-config/pull/747
[#748]: https://github.com/ergebnis/php-cs-fixer-config/pull/748
[#751]: https://github.com/ergebnis/php-cs-fixer-config/pull/751
[#764]: https://github.com/ergebnis/php-cs-fixer-config/pull/764

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
8 changes: 1 addition & 7 deletions src/RuleSet/Php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,13 +454,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
'target' => 'newest',
],
'php_unit_fqcn_annotation' => true,
'php_unit_internal_class' => [
'types' => [
'abstract',
'final',
'normal',
],
],
'php_unit_internal_class' => false,
'php_unit_method_casing' => [
'case' => 'camel_case',
],
Expand Down
8 changes: 1 addition & 7 deletions src/RuleSet/Php81.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,13 +455,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet
'target' => 'newest',
],
'php_unit_fqcn_annotation' => true,
'php_unit_internal_class' => [
'types' => [
'abstract',
'final',
'normal',
],
],
'php_unit_internal_class' => false,
'php_unit_method_casing' => [
'case' => 'camel_case',
],
Expand Down
8 changes: 1 addition & 7 deletions src/RuleSet/Php82.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,13 +455,7 @@ final class Php82 extends AbstractRuleSet implements ExplicitRuleSet
'target' => 'newest',
],
'php_unit_fqcn_annotation' => true,
'php_unit_internal_class' => [
'types' => [
'abstract',
'final',
'normal',
],
],
'php_unit_internal_class' => false,
'php_unit_method_casing' => [
'case' => 'camel_case',
],
Expand Down
8 changes: 1 addition & 7 deletions test/Unit/RuleSet/Php80Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,13 +460,7 @@ final class Php80Test extends ExplicitRuleSetTestCase
'target' => 'newest',
],
'php_unit_fqcn_annotation' => true,
'php_unit_internal_class' => [
'types' => [
'abstract',
'final',
'normal',
],
],
'php_unit_internal_class' => false,
'php_unit_method_casing' => [
'case' => 'camel_case',
],
Expand Down
8 changes: 1 addition & 7 deletions test/Unit/RuleSet/Php81Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,13 +461,7 @@ final class Php81Test extends ExplicitRuleSetTestCase
'target' => 'newest',
],
'php_unit_fqcn_annotation' => true,
'php_unit_internal_class' => [
'types' => [
'abstract',
'final',
'normal',
],
],
'php_unit_internal_class' => false,
'php_unit_method_casing' => [
'case' => 'camel_case',
],
Expand Down
8 changes: 1 addition & 7 deletions test/Unit/RuleSet/Php82Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,13 +461,7 @@ final class Php82Test extends ExplicitRuleSetTestCase
'target' => 'newest',
],
'php_unit_fqcn_annotation' => true,
'php_unit_internal_class' => [
'types' => [
'abstract',
'final',
'normal',
],
],
'php_unit_internal_class' => false,
'php_unit_method_casing' => [
'case' => 'camel_case',
],
Expand Down

0 comments on commit 1bed7ee

Please sign in to comment.