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 3
3
namespace PHPStan \Rules \PHPUnit ;
4
4
5
5
use PhpParser \Node ;
6
+ use PhpParser \Node \Expr \CallLike ;
6
7
use PhpParser \Node \Expr \ConstFetch ;
7
8
use PhpParser \NodeAbstract ;
8
9
use PHPStan \Analyser \Scope ;
@@ -18,7 +19,7 @@ class AssertSameBooleanExpectedRule implements Rule
18
19
19
20
public function getNodeType (): string
20
21
{
21
- return NodeAbstract ::class;
22
+ return CallLike ::class;
22
23
}
23
24
24
25
public function processNode (Node $ node , Scope $ scope ): array
Original file line number Diff line number Diff line change 3
3
namespace PHPStan \Rules \PHPUnit ;
4
4
5
5
use PhpParser \Node ;
6
+ use PhpParser \Node \Expr \CallLike ;
6
7
use PhpParser \Node \Expr \ConstFetch ;
7
8
use PhpParser \NodeAbstract ;
8
9
use PHPStan \Analyser \Scope ;
@@ -18,7 +19,7 @@ class AssertSameNullExpectedRule implements Rule
18
19
19
20
public function getNodeType (): string
20
21
{
21
- return NodeAbstract ::class;
22
+ return CallLike ::class;
22
23
}
23
24
24
25
public function processNode (Node $ node , Scope $ scope ): array
Original file line number Diff line number Diff line change 4
4
5
5
use Countable ;
6
6
use PhpParser \Node ;
7
+ use PhpParser \Node \Expr \CallLike ;
7
8
use PhpParser \NodeAbstract ;
8
9
use PHPStan \Analyser \Scope ;
9
10
use PHPStan \Rules \Rule ;
@@ -19,7 +20,7 @@ class AssertSameWithCountRule implements Rule
19
20
20
21
public function getNodeType (): string
21
22
{
22
- return NodeAbstract ::class;
23
+ return CallLike ::class;
23
24
}
24
25
25
26
public function processNode (Node $ node , Scope $ scope ): array
You can’t perform that action at this time.
0 commit comments