@@ -33,7 +33,7 @@ |
||
| 33 | 33 | ) |
| 34 | 34 | ); |
| 35 | 35 | } |
| 36 | - $lastCallable = function ($command) use ($middleware, $lastCallable) { |
|
| 36 | + $lastCallable = function($command) use ($middleware, $lastCallable) { |
|
| 37 | 37 | return $middleware->execute($command, $lastCallable); |
| 38 | 38 | }; |
| 39 | 39 | } |
@@ -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. |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | { |
| 57 | 57 | $this->nodesFactory = $nodesFactory; |
| 58 | 58 | |
| 59 | - $lastCallable = function ($command) { |
|
| 59 | + $lastCallable = function($command) { |
|
| 60 | 60 | return $this->createFile($command); |
| 61 | 61 | }; |
| 62 | 62 | |
@@ -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\Php\Factory; |
| 17 | 16 | use phpDocumentor\Reflection\Php\Property as PropertyDescriptor; |
| 18 | 17 | use phpDocumentor\Reflection\Php\ProjectFactoryStrategy; |
@@ -20,7 +19,6 @@ discard block |
||
| 20 | 19 | use phpDocumentor\Reflection\Php\Visibility; |
| 21 | 20 | use phpDocumentor\Reflection\PrettyPrinter; |
| 22 | 21 | use phpDocumentor\Reflection\Types\Context; |
| 23 | -use PhpParser\Comment\Doc; |
|
| 24 | 22 | |
| 25 | 23 | /** |
| 26 | 24 | * Strategy to convert PropertyIterator to PropertyDescriptor |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * This file is part of phpDocumentor. |
|
| 4 | - * |
|
| 5 | - * For the full copyright and license information, please view the LICENSE |
|
| 6 | - * file that was distributed with this source code. |
|
| 7 | - * |
|
| 8 | - * @copyright 2010-2015 Mike van Riel<[email protected]> |
|
| 9 | - * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | - * @link http://phpdoc.org |
|
| 11 | - */ |
|
| 3 | + * This file is part of phpDocumentor. |
|
| 4 | + * |
|
| 5 | + * For the full copyright and license information, please view the LICENSE |
|
| 6 | + * file that was distributed with this source code. |
|
| 7 | + * |
|
| 8 | + * @copyright 2010-2015 Mike van Riel<[email protected]> |
|
| 9 | + * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | + * @link http://phpdoc.org |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection\Php\Factory; |
| 14 | 14 | |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection; |
| 14 | 14 | |
| 15 | -use Mockery as m; |
|
| 16 | 15 | use phpDocumentor\Reflection\DocBlock\Tags\Param; |
| 17 | 16 | use phpDocumentor\Reflection\File\LocalFile; |
| 18 | 17 | use phpDocumentor\Reflection\Php\ProjectFactory; |
@@ -12,19 +12,7 @@ |
||
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection; |
| 14 | 14 | |
| 15 | -use Mockery as m; |
|
| 16 | 15 | use phpDocumentor\Reflection\File\LocalFile; |
| 17 | -use phpDocumentor\Reflection\Php\Factory\Argument; |
|
| 18 | -use phpDocumentor\Reflection\Php\Factory\Class_; |
|
| 19 | -use phpDocumentor\Reflection\Php\Factory\Constant; |
|
| 20 | -use phpDocumentor\Reflection\Php\Factory\DocBlock as DocBlockStrategy; |
|
| 21 | -use phpDocumentor\Reflection\Php\Factory\File; |
|
| 22 | -use phpDocumentor\Reflection\Php\NodesFactory; |
|
| 23 | -use phpDocumentor\Reflection\Php\Factory\Function_; |
|
| 24 | -use phpDocumentor\Reflection\Php\Factory\Interface_; |
|
| 25 | -use phpDocumentor\Reflection\Php\Factory\Method; |
|
| 26 | -use phpDocumentor\Reflection\Php\Factory\Property; |
|
| 27 | -use phpDocumentor\Reflection\Php\Factory\Trait_; |
|
| 28 | 16 | use phpDocumentor\Reflection\Php\ProjectFactory; |
| 29 | 17 | |
| 30 | 18 | /** |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * This file is part of phpDocumentor. |
|
| 4 | - * |
|
| 5 | - * For the full copyright and license information, please view the LICENSE |
|
| 6 | - * file that was distributed with this source code. |
|
| 7 | - * |
|
| 8 | - * @copyright 2010-2015 Mike van Riel<[email protected]> |
|
| 9 | - * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | - * @link http://phpdoc.org |
|
| 11 | - */ |
|
| 3 | + * This file is part of phpDocumentor. |
|
| 4 | + * |
|
| 5 | + * For the full copyright and license information, please view the LICENSE |
|
| 6 | + * file that was distributed with this source code. |
|
| 7 | + * |
|
| 8 | + * @copyright 2010-2015 Mike van Riel<[email protected]> |
|
| 9 | + * @license http://www.opensource.org/licenses/mit-license.php MIT |
|
| 10 | + * @link http://phpdoc.org |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection\Php\Factory; |
| 14 | 14 | |