@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use phpDocumentor\Reflection\Fqsen; |
| 17 | 17 | use PhpParser\Node; |
| 18 | 18 | use PhpParser\Node\Const_; |
| 19 | -use PhpParser\Node\Name; |
|
| 20 | 19 | use PhpParser\Node\Stmt\Class_; |
| 21 | 20 | use PhpParser\Node\Stmt\ClassConst; |
| 22 | 21 | use PhpParser\Node\Stmt\ClassMethod; |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Mockery as m; |
| 17 | 17 | use phpDocumentor\Reflection\Fqsen; |
| 18 | 18 | use phpDocumentor\Reflection\Php\StrategyContainer; |
| 19 | -use phpDocumentor\Reflection\Types\Context; |
|
| 20 | 19 | use PhpParser\Comment\Doc; |
| 21 | 20 | use PhpParser\Node\Const_; |
| 22 | 21 | use PhpParser\Node\Expr\Variable; |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use Mockery as m; |
| 19 | 19 | use phpDocumentor\Reflection\Php\StrategyContainer; |
| 20 | 20 | use phpDocumentor\Reflection\PrettyPrinter; |
| 21 | -use phpDocumentor\Reflection\Types\Context; |
|
| 22 | 21 | use PhpParser\Comment\Doc; |
| 23 | 22 | use PhpParser\Node\Scalar\String_; |
| 24 | 23 | use PhpParser\Node\Stmt\Class_ as ClassNode; |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Mockery as m; |
| 17 | 17 | use phpDocumentor\Reflection\Fqsen; |
| 18 | 18 | use phpDocumentor\Reflection\Php\StrategyContainer; |
| 19 | -use phpDocumentor\Reflection\Types\Context; |
|
| 20 | 19 | use PhpParser\Comment\Doc; |
| 21 | 20 | use PhpParser\Node\Name; |
| 22 | 21 | use PhpParser\Node\Stmt\ClassMethod; |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | namespace phpDocumentor\Reflection\Php; |
| 15 | 15 | |
| 16 | 16 | use phpDocumentor\Reflection\NodeVisitor\ElementNameResolver; |
| 17 | -use PhpParser\Lexer; |
|
| 18 | 17 | use PhpParser\NodeTraverser; |
| 19 | 18 | use PhpParser\NodeVisitor\NameResolver; |
| 20 | 19 | use PhpParser\Parser; |
@@ -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. |
@@ -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\Element; |
| 18 | 17 | use phpDocumentor\Reflection\Fqsen; |
| 19 | 18 | use phpDocumentor\Reflection\Location; |
@@ -21,12 +20,10 @@ discard block |
||
| 21 | 20 | use phpDocumentor\Reflection\Php\ProjectFactoryStrategy; |
| 22 | 21 | use phpDocumentor\Reflection\Php\StrategyContainer; |
| 23 | 22 | use phpDocumentor\Reflection\Types\Context; |
| 24 | -use PhpParser\Node; |
|
| 25 | 23 | use PhpParser\Node\Stmt\Class_ as ClassNode; |
| 26 | 24 | use PhpParser\Node\Stmt\ClassConst; |
| 27 | 25 | use PhpParser\Node\Stmt\ClassMethod; |
| 28 | 26 | use PhpParser\Node\Stmt\Property as PropertyNode; |
| 29 | -use PhpParser\Comment\Doc; |
|
| 30 | 27 | use PhpParser\Node\Stmt\TraitUse; |
| 31 | 28 | |
| 32 | 29 | /** |
@@ -13,15 +13,12 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace phpDocumentor\Reflection\Php\Factory; |
| 15 | 15 | |
| 16 | -use InvalidArgumentException; |
|
| 17 | 16 | use phpDocumentor\Reflection\Element; |
| 18 | 17 | use phpDocumentor\Reflection\Fqsen; |
| 19 | 18 | use phpDocumentor\Reflection\Location; |
| 20 | 19 | use phpDocumentor\Reflection\Php\ProjectFactoryStrategy; |
| 21 | 20 | use phpDocumentor\Reflection\Php\StrategyContainer; |
| 22 | 21 | use phpDocumentor\Reflection\Types\Context; |
| 23 | -use PhpParser\Comment\Doc; |
|
| 24 | -use PhpParser\Node; |
|
| 25 | 22 | use PhpParser\Node\Stmt\ClassConst; |
| 26 | 23 | use PhpParser\Node\Stmt\ClassMethod; |
| 27 | 24 | use PhpParser\Node\Stmt\Interface_ as InterfaceNode; |
@@ -12,7 +12,6 @@ discard block |
||
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection\Php\Factory; |
| 14 | 14 | |
| 15 | -use InvalidArgumentException; |
|
| 16 | 15 | use phpDocumentor\Reflection\Location; |
| 17 | 16 | use phpDocumentor\Reflection\Php\Factory; |
| 18 | 17 | use phpDocumentor\Reflection\Php\Property as PropertyDescriptor; |
@@ -21,7 +20,6 @@ discard block |
||
| 21 | 20 | use phpDocumentor\Reflection\Php\Visibility; |
| 22 | 21 | use phpDocumentor\Reflection\PrettyPrinter; |
| 23 | 22 | use phpDocumentor\Reflection\Types\Context; |
| 24 | -use PhpParser\Comment\Doc; |
|
| 25 | 23 | |
| 26 | 24 | /** |
| 27 | 25 | * Strategy to convert PropertyIterator to PropertyDescriptor |