@@ -13,7 +13,6 @@ discard block |
||
13 | 13 | |
14 | 14 | namespace phpDocumentor\Reflection\Php\Factory; |
15 | 15 | |
16 | -use InvalidArgumentException; |
|
17 | 16 | use phpDocumentor\Reflection\File as FileSystemFile; |
18 | 17 | use phpDocumentor\Reflection\Fqsen; |
19 | 18 | use phpDocumentor\Reflection\Middleware\ChainFactory; |
@@ -26,14 +25,12 @@ discard block |
||
26 | 25 | use phpDocumentor\Reflection\Types\Context; |
27 | 26 | use phpDocumentor\Reflection\Types\ContextFactory; |
28 | 27 | use PhpParser\Comment\Doc; |
29 | -use PhpParser\Lexer; |
|
30 | 28 | use PhpParser\Node; |
31 | 29 | use PhpParser\Node\Stmt\Class_ as ClassNode; |
32 | 30 | use PhpParser\Node\Stmt\Function_ as FunctionNode; |
33 | 31 | use PhpParser\Node\Stmt\Interface_ as InterfaceNode; |
34 | 32 | use PhpParser\Node\Stmt\Namespace_ as NamespaceNode; |
35 | 33 | use PhpParser\Node\Stmt\Trait_ as TraitNode; |
36 | -use PhpParser\NodeAbstract; |
|
37 | 34 | |
38 | 35 | /** |
39 | 36 | * Strategy to create File element from the provided filename. |
@@ -22,7 +22,7 @@ |
||
22 | 22 | $projectFactory = \phpDocumentor\Reflection\Php\ProjectFactory::createInstance(); |
23 | 23 | |
24 | 24 | // Create an array of files to analize. |
25 | -$files = [ new \phpDocumentor\Reflection\File\LocalFile('tests/example.file.php') ]; |
|
25 | +$files = [new \phpDocumentor\Reflection\File\LocalFile('tests/example.file.php')]; |
|
26 | 26 | |
27 | 27 | //create a new project 'MyProject' containing all elements in the files. |
28 | 28 | /** @var Project $project */ |