Completed
Push — develop ( 904dd0...7938f1 )
by Jaap
02:53
created
src/phpDocumentor/Reflection/Php/Factory/File.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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.
Please login to merge, or discard this patch.
example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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 */
Please login to merge, or discard this patch.