]> _ Git - cubist_util.git/commitdiff
wip #4211 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 May 2022 09:10:40 +0000 (11:10 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 May 2022 09:10:40 +0000 (11:10 +0200)
src/PHP.php

index 5ba0e153efbe795c14e8c958fbb6e62015b958e2..047dfeccfe333daa8a07e4d83e6e88988efd23f0 100644 (file)
@@ -31,6 +31,7 @@ class PHP
         $content = file_get_contents($file);
         $tokens = token_get_all($content);
         $namespace = '';
+        $fqcns = [];
         for ($index = 0; isset($tokens[$index]); $index++) {
             if (!isset($tokens[$index][0])) {
                 continue;