Completed
Pull Request — develop (#91)
by Mike
10:26
created
src/phpDocumentor/Reflection/Php/Project.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/ProjectFactoryStrategies.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/ProjectFactoryStrategy.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Property.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/StrategyContainer.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Trait_.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/AbstractFactory.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
 {
13 13
     abstract public function matches($object);
14 14
 
15
+    /**
16
+     * @param \phpDocumentor\Reflection\File\LocalFile $object
17
+     */
15 18
     public function create($object, StrategyContainer $strategies, Context $context = null)
16 19
     {
17 20
         if (! $this->matches($object)) {
@@ -42,7 +45,7 @@  discard block
 block discarded – undo
42 45
      * @param Doc $docBlock
43 46
      * @param StrategyContainer $strategies
44 47
      * @param Context $context
45
-     * @return null|\phpDocumentor\Reflection\DocBlock
48
+     * @return null|Element
46 49
      */
47 50
     protected function createDocBlock(Doc $docBlock = null, StrategyContainer $strategies, Context $context = null)
48 51
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
     public function create($object, StrategyContainer $strategies, Context $context = null)
16 16
     {
17
-        if (! $this->matches($object)) {
17
+        if (!$this->matches($object)) {
18 18
             throw new \InvalidArgumentException(
19 19
                 sprintf('%s cannot handle objects with the type %s',
20 20
                     __CLASS__,
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Method.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,13 +12,11 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.