Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0368403

Browse files
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

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /