Skip to content

Commit 0368403

Browse files
committed
Fix
1 parent 1721dbf commit 0368403

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Rules/SwitchConditions/MatchingTypeInSwitchCaseConditionRuleTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace PHPStan\Rules\SwitchConditions;
44

5-
use PhpParser\PrettyPrinter\Standard;
5+
use PHPStan\Node\Printer\Printer;
66
use PHPStan\Rules\Rule;
77
use PHPStan\Testing\RuleTestCase;
88

@@ -14,7 +14,7 @@ class MatchingTypeInSwitchCaseConditionRuleTest extends RuleTestCase
1414

1515
protected function getRule(): Rule
1616
{
17-
return new MatchingTypeInSwitchCaseConditionRule(new Standard());
17+
return new MatchingTypeInSwitchCaseConditionRule(new Printer());
1818
}
1919

2020
public function testRule(): void

0 commit comments

Comments
 (0)