@@ -15,7 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Mockery as m; |
| 17 | 17 | use org\bovigo\vfs\vfsStream; |
| 18 | - |
|
| 19 | 18 | use org\bovigo\vfs\vfsStreamDirectory; |
| 20 | 19 | use phpDocumentor\Descriptor\ProjectDescriptor; |
| 21 | 20 | use phpDocumentor\Transformer\Router\RouterAbstract; |
@@ -181,6 +181,9 @@ |
||
| 181 | 181 | $this->assertSame('documented', $result); |
| 182 | 182 | } |
| 183 | 183 | |
| 184 | + /** |
|
| 185 | + * @param m\MockInterface|null $rule |
|
| 186 | + */ |
|
| 184 | 187 | private function givenARouter($rule) |
| 185 | 188 | { |
| 186 | 189 | $queue = m::mock('phpDocumentor\Transformer\Router\Queue'); |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * |
| 50 | 50 | * @param string[] $templateNames |
| 51 | 51 | * |
| 52 | - * @return m\MockInterface|Factory |
|
| 52 | + * @return Factory |
|
| 53 | 53 | */ |
| 54 | 54 | private function givenAFactoryWithTemplateNames(array $templateNames) |
| 55 | 55 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | use Psr\Log\LoggerInterface; |
| 21 | 21 | use Psr\Log\LogLevel; |
| 22 | 22 | use RuntimeException; |
| 23 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * Application class for phpDocumentor. |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | * @param string $from_name |
| 150 | 150 | * @param string|ClassDescriptor|InterfaceDescriptor|TraitDescriptor $to |
| 151 | 151 | * |
| 152 | - * @return Edge|null |
|
| 152 | + * @return \self|null |
|
| 153 | 153 | */ |
| 154 | 154 | protected function createEdge($graph, $from_name, $to) |
| 155 | 155 | { |
@@ -180,6 +180,9 @@ discard block |
||
| 180 | 180 | return null; |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | + /** |
|
| 184 | + * @param string $fqcn |
|
| 185 | + */ |
|
| 183 | 186 | protected function createNamespaceGraph($fqcn) |
| 184 | 187 | { |
| 185 | 188 | $namespaceParts = explode('\\', $fqcn); |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use phpDocumentor\Descriptor\InterfaceDescriptor; |
| 24 | 24 | use phpDocumentor\Descriptor\ProjectDescriptor; |
| 25 | 25 | use phpDocumentor\Descriptor\TraitDescriptor; |
| 26 | -use phpDocumentor\Descriptor\Validator\Error; |
|
| 27 | 26 | use phpDocumentor\Transformer\Behaviour\Tag\AuthorTag; |
| 28 | 27 | use phpDocumentor\Transformer\Behaviour\Tag\CoversTag; |
| 29 | 28 | use phpDocumentor\Transformer\Behaviour\Tag\IgnoreTag; |