File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 33namespace PHPStan \Rules \PHPUnit ;
44
55use PhpParser \Node ;
6+ use PhpParser \Node \Expr \CallLike ;
67use PhpParser \Node \Expr \ConstFetch ;
78use PhpParser \NodeAbstract ;
89use PHPStan \Analyser \Scope ;
@@ -18,7 +19,7 @@ class AssertSameBooleanExpectedRule implements Rule
1819
1920 public function getNodeType (): string
2021 {
21- return NodeAbstract ::class;
22+ return CallLike ::class;
2223 }
2324
2425 public function processNode (Node $ node , Scope $ scope ): array
Original file line number Diff line number Diff line change 33namespace PHPStan \Rules \PHPUnit ;
44
55use PhpParser \Node ;
6+ use PhpParser \Node \Expr \CallLike ;
67use PhpParser \Node \Expr \ConstFetch ;
78use PhpParser \NodeAbstract ;
89use PHPStan \Analyser \Scope ;
@@ -18,7 +19,7 @@ class AssertSameNullExpectedRule implements Rule
1819
1920 public function getNodeType (): string
2021 {
21- return NodeAbstract ::class;
22+ return CallLike ::class;
2223 }
2324
2425 public function processNode (Node $ node , Scope $ scope ): array
Original file line number Diff line number Diff line change 44
55use Countable ;
66use PhpParser \Node ;
7+ use PhpParser \Node \Expr \CallLike ;
78use PhpParser \NodeAbstract ;
89use PHPStan \Analyser \Scope ;
910use PHPStan \Rules \Rule ;
@@ -19,7 +20,7 @@ class AssertSameWithCountRule implements Rule
1920
2021 public function getNodeType (): string
2122 {
22- return NodeAbstract ::class;
23+ return CallLike ::class;
2324 }
2425
2526 public function processNode (Node $ node , Scope $ scope ): array
You can’t perform that action at this time.
0 commit comments