File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
src/DependencyInjection/PHPStan Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 99use PHPStan \Parser \AnonymousClassVisitor ;
1010use PHPStan \Parser \ArrayMapArgVisitor ;
1111use PHPStan \Parser \RichParser ;
12- use PHPStan \Parser \VariadicFunctionsVisitor ;
13- use PHPStan \Parser \VariadicMethodsVisitor ;
1412use Rector \Util \Reflection \PrivatesAccessor ;
1513
1614/**
@@ -41,8 +39,6 @@ public static function removeRichVisitors(RichParser $richParser): void
4139 // remove all the rest, https://github.com/phpstan/phpstan-src/tree/1d86de8bb9371534983a8dbcd879e057d2ff028f/src/Parser
4240 $ nodeVisitorsToKeep = [
4341 $ container ->findServiceNamesByType (AnonymousClassVisitor::class)[0 ] => true ,
44- $ container ->findServiceNamesByType (VariadicFunctionsVisitor::class)[0 ] => true ,
45- $ container ->findServiceNamesByType (VariadicMethodsVisitor::class)[0 ] => true ,
4642 $ container ->findServiceNamesByType (ArrayMapArgVisitor::class)[0 ] => true ,
4743 ];
4844
You can’t perform that action at this time.
0 commit comments