File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/Infrastructure/Analyze/Adapters/Jerowork Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 6
6
use PhpParser \NodeTraverserInterface ;
7
7
use PhpParser \NodeVisitor \ParentConnectingVisitor ;
8
8
use App \Infrastructure \Analyze \Adapters \Jerowork \NativeDecliner ;
9
+ use App \Infrastructure \Analyze \Adapters \Jerowork \Visitors \DetectClassTypeVisitor ;
9
10
use Jerowork \ClassDependenciesParser \PhpParser \NodeVisitor \ParseClassFqnNodeVisitor ;
10
11
use Jerowork \ClassDependenciesParser \PhpParser \NodeVisitor \ParseInlineFqnNodeVisitor ;
11
12
use Jerowork \ClassDependenciesParser \PhpParser \NodeVisitor \ParseImportedFqnNodeVisitor ;
@@ -27,6 +28,7 @@ public function createTraverser(array &$collectors): NodeTraverserInterface
27
28
$ traverser ->addVisitor (new ParentConnectingVisitor ());
28
29
$ traverser ->addVisitor (new ParseClassFqnNodeVisitor ($ collectors ['dependencies ' ]));
29
30
$ traverser ->addVisitor (new ParseImportedFqnNodeVisitor ($ collectors ['dependencies ' ]));
31
+ $ traverser ->addVisitor (new DetectClassTypeVisitor ($ collectors ['type ' ]));
30
32
$ traverser ->addVisitor (new ParseInlineFqnNodeVisitor (
31
33
$ collectors ['dependencies ' ],
32
34
[
You can’t perform that action at this time.
0 commit comments