@@ -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; |
| 14 | 14 | |
@@ -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 | /** |
@@ -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 | /** |
@@ -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 | /** |
@@ -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 | namespace phpDocumentor\Reflection\Php; |
| 14 | 14 | |
@@ -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; |
| 14 | 14 | |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | { |
| 33 | 33 | $this->callbacks[TraitUse::class] = function($classElement, $stmt) { |
| 34 | 34 | foreach ($stmt->traits as $use) { |
| 35 | - $classElement->addUsedTrait(new Fqsen('\\'. $use->toString())); |
|
| 35 | + $classElement->addUsedTrait(new Fqsen('\\' . $use->toString())); |
|
| 36 | 36 | } |
| 37 | 37 | }; |
| 38 | 38 | |
@@ -44,12 +44,12 @@ discard block |
||
| 44 | 44 | } |
| 45 | 45 | }; |
| 46 | 46 | |
| 47 | - $this->callbacks[ClassMethod::class] = function ($classElement, $stmt, $strategies, $context) { |
|
| 47 | + $this->callbacks[ClassMethod::class] = function($classElement, $stmt, $strategies, $context) { |
|
| 48 | 48 | $method = $this->createMember($stmt, $strategies, $context); |
| 49 | 49 | $classElement->addMethod($method); |
| 50 | 50 | }; |
| 51 | 51 | |
| 52 | - $this->callbacks[PropertyNode::class] = function ($classElement, $stmt, $strategies, $context) { |
|
| 52 | + $this->callbacks[PropertyNode::class] = function($classElement, $stmt, $strategies, $context) { |
|
| 53 | 53 | $properties = new PropertyIterator($stmt); |
| 54 | 54 | foreach ($properties as $property) { |
| 55 | 55 | $element = $this->createMember($property, $strategies, $context); |
@@ -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; |
| 14 | 14 | |
@@ -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; |
| 14 | 14 | |