File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
rules/DowngradePhp80/Rector/FuncCall Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1515use PhpParser \Node \Expr \Cast \String_ ;
1616use PhpParser \Node \Expr \Empty_ ;
1717use PhpParser \Node \Expr \FuncCall ;
18+ use PhpParser \Node \Expr \MethodCall ;
19+ use PhpParser \Node \Expr \StaticCall ;
1820use PhpParser \Node \Expr \Ternary ;
1921use PHPStan \Reflection \FunctionReflection ;
2022use PHPStan \Reflection \MethodReflection ;
@@ -65,13 +67,14 @@ public function getNodeTypes(): array
6567 Ternary::class,
6668 Identical::class,
6769 Concat::class,
68- CallLike::class,
70+ MethodCall::class,
71+ StaticCall::class,
6972 FuncCall::class,
7073 ];
7174 }
7275
7376 /**
74- * @param Cast|Empty_|BooleanNot|Ternary|Identical|Concat|CallLike |FuncCall $node
77+ * @param Cast|Empty_|BooleanNot|Ternary|Identical|Concat|MethodCall|StaticCall |FuncCall $node
7578 */
7679 public function refactor (Node $ node ): ?Node
7780 {
You can’t perform that action at this time.
0 commit comments