@@ -466,6 +466,9 @@ |
||
466 | 466 | return $this->getCodeRankOrReverseCodeRank('rcr', $options); |
467 | 467 | } |
468 | 468 | |
469 | + /** |
|
470 | + * @param string $metricName |
|
471 | + */ |
|
469 | 472 | protected function getCodeRankOrReverseCodeRank($metricName, array $options = array()) |
470 | 473 | { |
471 | 474 | $namespaces = $this->parseCodeResourceForTest(); |
@@ -512,7 +512,7 @@ discard block |
||
512 | 512 | * Returns the NPath Complexity of the first function found in source file |
513 | 513 | * associated with the calling test case. |
514 | 514 | * |
515 | - * @return integer |
|
515 | + * @return string |
|
516 | 516 | * @since 0.9.12 |
517 | 517 | */ |
518 | 518 | private function _calculateFunctionMetric() |
@@ -541,7 +541,7 @@ discard block |
||
541 | 541 | * Returns the NPath Complexity of the first method found in source file |
542 | 542 | * associated with the calling test case. |
543 | 543 | * |
544 | - * @return integer |
|
544 | + * @return string |
|
545 | 545 | * @since 0.9.12 |
546 | 546 | */ |
547 | 547 | private function _calculateMethodMetric() |
@@ -984,7 +984,7 @@ |
||
984 | 984 | /** |
985 | 985 | * Tests that the parser supports sub packages. |
986 | 986 | * |
987 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
987 | + * @return ASTArtifactList |
|
988 | 988 | */ |
989 | 989 | public function testParserSetsFileLevelFunctionPackage() |
990 | 990 | { |
@@ -219,6 +219,9 @@ |
||
219 | 219 | ); |
220 | 220 | } |
221 | 221 | |
222 | + /** |
|
223 | + * @param string $fileName |
|
224 | + */ |
|
222 | 225 | protected function getNormalizedPathXml($fileName) |
223 | 226 | { |
224 | 227 | return preg_replace( |
@@ -43,7 +43,6 @@ |
||
43 | 43 | namespace PDepend\Report\Dependencies; |
44 | 44 | |
45 | 45 | use PDepend\AbstractTest; |
46 | -use PDepend\Source\AST\ASTArtifactList; |
|
47 | 46 | |
48 | 47 | /** |
49 | 48 | * Test case for the xml summary log. |
@@ -46,7 +46,6 @@ |
||
46 | 46 | use PDepend\Metrics\AnalyzerNodeAware; |
47 | 47 | use PDepend\Metrics\AnalyzerProjectAware; |
48 | 48 | use PDepend\Source\AST\ASTArtifact; |
49 | -use PDepend\Source\AST\ASTArtifactList; |
|
50 | 49 | |
51 | 50 | /** |
52 | 51 | * Simple dummy analyzer. |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @param string $testCase |
77 | 77 | * @param boolean $ignoreAnnotations |
78 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
78 | + * @return ASTArtifactList |
|
79 | 79 | */ |
80 | 80 | public function parseTestCaseSource($testCase, $ignoreAnnotations = false) |
81 | 81 | { |
@@ -296,7 +296,7 @@ |
||
296 | 296 | /** |
297 | 297 | * Returns a mocked instance of the callable class. |
298 | 298 | * |
299 | - * @return \PDepend\Source\AST\AbstractASTCallable |
|
299 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
300 | 300 | */ |
301 | 301 | protected function getCallableMock() |
302 | 302 | { |
@@ -173,7 +173,7 @@ |
||
173 | 173 | /** |
174 | 174 | * testClassReferenceForJavaStyleArrayNotation |
175 | 175 | * |
176 | - * @return \PDepend\Source\AST\ASTClassOrInterfaceReference |
|
176 | + * @return AbstractASTClassOrInterface|null |
|
177 | 177 | */ |
178 | 178 | public function testClassReferenceForJavaStyleArrayNotation() |
179 | 179 | { |
@@ -590,7 +590,7 @@ discard block |
||
590 | 590 | /** |
591 | 591 | * Returns a mocked ast node instance. |
592 | 592 | * |
593 | - * @return \PDepend\Source\AST\ASTNode |
|
593 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
594 | 594 | */ |
595 | 595 | private function getNodeMock() |
596 | 596 | { |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | * @param string $testCase |
797 | 797 | * @param boolean $ignoreAnnotations |
798 | 798 | * |
799 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
799 | + * @return ASTArtifactList |
|
800 | 800 | */ |
801 | 801 | public function parseTestCaseSource($testCase, $ignoreAnnotations = false) |
802 | 802 | { |