Skip to content

Commit

Permalink
Merge pull request #765 from ergebnis/fix/php-unit-test-class-require…
Browse files Browse the repository at this point in the history
…s-covers

Fix: Disable `php_unit_test_class_requires_covers` fixer
  • Loading branch information
localheinz committed Apr 27, 2023
2 parents f25ed0a + b1513ab commit c8c9015
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

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

### Changed

- Disabled `php_unit_test_class_requires_covers` fixer ([#765]), by [@localheinz]

## [`5.5.1`][5.5.1]

For a full diff see [`5.5.0...5.5.1`][5.5.0...5.5.1].
Expand Down Expand Up @@ -926,6 +930,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#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
[#765]: https://github.com/ergebnis/php-cs-fixer-config/pull/765

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
'call_type' => 'self',
'methods' => [],
],
'php_unit_test_class_requires_covers' => true,
'php_unit_test_class_requires_covers' => false,
'phpdoc_add_missing_param_annotation' => [
'only_untyped' => true,
],
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php81.php
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet
'call_type' => 'self',
'methods' => [],
],
'php_unit_test_class_requires_covers' => true,
'php_unit_test_class_requires_covers' => false,
'phpdoc_add_missing_param_annotation' => [
'only_untyped' => true,
],
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php82.php
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ final class Php82 extends AbstractRuleSet implements ExplicitRuleSet
'call_type' => 'self',
'methods' => [],
],
'php_unit_test_class_requires_covers' => true,
'php_unit_test_class_requires_covers' => false,
'phpdoc_add_missing_param_annotation' => [
'only_untyped' => true,
],
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php80Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ final class Php80Test extends ExplicitRuleSetTestCase
'call_type' => 'self',
'methods' => [],
],
'php_unit_test_class_requires_covers' => true,
'php_unit_test_class_requires_covers' => false,
'phpdoc_add_missing_param_annotation' => [
'only_untyped' => true,
],
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php81Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ final class Php81Test extends ExplicitRuleSetTestCase
'call_type' => 'self',
'methods' => [],
],
'php_unit_test_class_requires_covers' => true,
'php_unit_test_class_requires_covers' => false,
'phpdoc_add_missing_param_annotation' => [
'only_untyped' => true,
],
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php82Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ final class Php82Test extends ExplicitRuleSetTestCase
'call_type' => 'self',
'methods' => [],
],
'php_unit_test_class_requires_covers' => true,
'php_unit_test_class_requires_covers' => false,
'phpdoc_add_missing_param_annotation' => [
'only_untyped' => true,
],
Expand Down

0 comments on commit c8c9015

Please sign in to comment.