Skip to content

Commit

Permalink
Enforce calling parent::setUp() and parent::tearDown()
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 12, 2021
1 parent 6c0e48e commit a316f5d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions rules.neon
@@ -1,13 +1,6 @@
conditionalTags:
PHPStan\Rules\PHPUnit\ShouldCallParentMethodsRule:
phpstan.rules.rule: %featureToggles.bleedingEdge%

services:
-
class: PHPStan\Rules\PHPUnit\ShouldCallParentMethodsRule

rules:
- PHPStan\Rules\PHPUnit\AssertSameBooleanExpectedRule
- PHPStan\Rules\PHPUnit\AssertSameNullExpectedRule
- PHPStan\Rules\PHPUnit\AssertSameWithCountRule
- PHPStan\Rules\PHPUnit\MockMethodCallRule
- PHPStan\Rules\PHPUnit\ShouldCallParentMethodsRule

0 comments on commit a316f5d

Please sign in to comment.