diff --git a/CHANGELOG.md b/CHANGELOG.md index 100e07a1..ab17746e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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]. @@ -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 diff --git a/src/RuleSet/Php80.php b/src/RuleSet/Php80.php index 43f25634..462ad2c8 100644 --- a/src/RuleSet/Php80.php +++ b/src/RuleSet/Php80.php @@ -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', ], diff --git a/src/RuleSet/Php81.php b/src/RuleSet/Php81.php index c985380c..f92af508 100644 --- a/src/RuleSet/Php81.php +++ b/src/RuleSet/Php81.php @@ -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', ], diff --git a/src/RuleSet/Php82.php b/src/RuleSet/Php82.php index 159c673c..4a5b0b52 100644 --- a/src/RuleSet/Php82.php +++ b/src/RuleSet/Php82.php @@ -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', ], diff --git a/test/Unit/RuleSet/Php80Test.php b/test/Unit/RuleSet/Php80Test.php index 014631d9..0b145dff 100644 --- a/test/Unit/RuleSet/Php80Test.php +++ b/test/Unit/RuleSet/Php80Test.php @@ -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', ], diff --git a/test/Unit/RuleSet/Php81Test.php b/test/Unit/RuleSet/Php81Test.php index 7879fc0f..cfe7daee 100644 --- a/test/Unit/RuleSet/Php81Test.php +++ b/test/Unit/RuleSet/Php81Test.php @@ -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', ], diff --git a/test/Unit/RuleSet/Php82Test.php b/test/Unit/RuleSet/Php82Test.php index b02a9020..fa39941d 100644 --- a/test/Unit/RuleSet/Php82Test.php +++ b/test/Unit/RuleSet/Php82Test.php @@ -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', ],