@@ -304,7 +304,7 @@ |
||
304 | 304 | } |
305 | 305 | |
306 | 306 | /** |
307 | - * @return bool|string |
|
307 | + * @return string|false |
|
308 | 308 | */ |
309 | 309 | private function generateUrlForXmlElement(ProjectDescriptor $project, \DOMElement $element) |
310 | 310 | { |
@@ -23,7 +23,6 @@ |
||
23 | 23 | use phpDocumentor\Transformer\Exception; |
24 | 24 | use phpDocumentor\Transformer\Router\ForFileProxy; |
25 | 25 | use phpDocumentor\Transformer\Router\Queue; |
26 | -use phpDocumentor\Transformer\Transformation; |
|
27 | 26 | use phpDocumentor\Transformer\Transformation as TransformationObject; |
28 | 27 | use phpDocumentor\Transformer\Writer\Exception\RequirementMissing; |
29 | 28 | use Psr\Log\LoggerInterface; |
@@ -132,6 +132,13 @@ |
||
132 | 132 | return m::mock('phpDocumentor\Descriptor\Validator\Error'); |
133 | 133 | } |
134 | 134 | |
135 | + /** |
|
136 | + * @param string $date |
|
137 | + * @param integer $numberOfFiles |
|
138 | + * @param integer $numberOfDeprecated |
|
139 | + * @param integer $numberOfErrors |
|
140 | + * @param integer $numberOfMarkers |
|
141 | + */ |
|
135 | 142 | private function thenTheXmlReportShouldContain( |
136 | 143 | $date, |
137 | 144 | $numberOfFiles, |
@@ -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. |