@@ -12,14 +12,11 @@ |
||
12 | 12 | |
13 | 13 | namespace phpDocumentor\Reflection\Php\Factory; |
14 | 14 | |
15 | -use InvalidArgumentException; |
|
16 | -use phpDocumentor\Reflection\Fqsen; |
|
17 | 15 | use phpDocumentor\Reflection\Php\Factory; |
18 | 16 | use phpDocumentor\Reflection\Php\Function_ as FunctionDescriptor; |
19 | 17 | use phpDocumentor\Reflection\Php\ProjectFactoryStrategy; |
20 | 18 | use phpDocumentor\Reflection\Php\StrategyContainer; |
21 | 19 | use phpDocumentor\Reflection\Types\Context; |
22 | -use PhpParser\Comment\Doc; |
|
23 | 20 | use PhpParser\Node\Stmt\Function_ as FunctionNode; |
24 | 21 | |
25 | 22 | /** |
@@ -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,14 +12,11 @@ |
||
12 | 12 | |
13 | 13 | |
14 | 14 | namespace phpDocumentor\Reflection\Php\Factory; |
15 | -use InvalidArgumentException; |
|
16 | 15 | use phpDocumentor\Reflection\Element; |
17 | 16 | use phpDocumentor\Reflection\Fqsen; |
18 | 17 | use phpDocumentor\Reflection\Php\ProjectFactoryStrategy; |
19 | 18 | use phpDocumentor\Reflection\Php\StrategyContainer; |
20 | 19 | use phpDocumentor\Reflection\Types\Context; |
21 | -use PhpParser\Comment\Doc; |
|
22 | -use PhpParser\Node; |
|
23 | 20 | use PhpParser\Node\Stmt\ClassConst; |
24 | 21 | use PhpParser\Node\Stmt\ClassMethod; |
25 | 22 | use PhpParser\Node\Stmt\Interface_ as InterfaceNode; |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $docBlock = $this->createDocBlock($strategies, $object->getDocComment(), $context); |
61 | 61 | $parents = array(); |
62 | 62 | foreach ($object->extends as $extend) { |
63 | - $parents['\\' . (string)$extend] = new Fqsen('\\' . (string)$extend); |
|
63 | + $parents['\\'.(string)$extend] = new Fqsen('\\'.(string)$extend); |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | $interface = new InterfaceElement($object->fqsen, $parents, $docBlock); |
@@ -12,13 +12,11 @@ |
||
12 | 12 | |
13 | 13 | namespace phpDocumentor\Reflection\Php\Factory; |
14 | 14 | |
15 | -use InvalidArgumentException; |
|
16 | 15 | use phpDocumentor\Reflection\Php\Method as MethodDescriptor; |
17 | 16 | use phpDocumentor\Reflection\Php\ProjectFactoryStrategy; |
18 | 17 | use phpDocumentor\Reflection\Php\StrategyContainer; |
19 | 18 | use phpDocumentor\Reflection\Php\Visibility; |
20 | 19 | use phpDocumentor\Reflection\Types\Context; |
21 | -use PhpParser\Comment\Doc; |
|
22 | 20 | use PhpParser\Node\Stmt\ClassMethod; |
23 | 21 | |
24 | 22 | /** |
@@ -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,15 +12,11 @@ |
||
12 | 12 | |
13 | 13 | namespace phpDocumentor\Reflection\Php\Factory; |
14 | 14 | |
15 | -use InvalidArgumentException; |
|
16 | -use phpDocumentor\Reflection\Element; |
|
17 | 15 | use phpDocumentor\Reflection\Fqsen; |
18 | 16 | use phpDocumentor\Reflection\Php\ProjectFactoryStrategy; |
19 | 17 | use phpDocumentor\Reflection\Php\StrategyContainer; |
20 | 18 | use phpDocumentor\Reflection\Php\Trait_ as TraitElement; |
21 | 19 | use phpDocumentor\Reflection\Types\Context; |
22 | -use PhpParser\Comment\Doc; |
|
23 | -use PhpParser\Node; |
|
24 | 20 | use PhpParser\Node\Stmt\ClassMethod; |
25 | 21 | use PhpParser\Node\Stmt\Property as PropertyNode; |
26 | 22 | use PhpParser\Node\Stmt\Trait_ as TraitNode; |
@@ -73,7 +73,7 @@ |
||
73 | 73 | break; |
74 | 74 | case TraitUse::class: |
75 | 75 | foreach ($stmt->traits as $use) { |
76 | - $trait->addUsedTrait(new Fqsen('\\'. $use->toString())); |
|
76 | + $trait->addUsedTrait(new Fqsen('\\'.$use->toString())); |
|
77 | 77 | } |
78 | 78 | break; |
79 | 79 | } |
@@ -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 | } |
@@ -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 | |
14 | 14 | namespace phpDocumentor\Reflection\Php\Factory; |