@@ -58,7 +58,7 @@ |
||
| 58 | 58 | * |
| 59 | 59 | * @param string $testCase |
| 60 | 60 | * @param boolean $ignoreAnnotations |
| 61 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
| 61 | + * @return \PDepend\Source\AST\ASTArtifactList |
|
| 62 | 62 | */ |
| 63 | 63 | public function parseTestCaseSource($testCase, $ignoreAnnotations = false) |
| 64 | 64 | { |
@@ -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(); |
@@ -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( |
@@ -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 | { |
@@ -123,7 +123,6 @@ |
||
| 123 | 123 | /** |
| 124 | 124 | * Returns a node instance for the currently executed test case. |
| 125 | 125 | * |
| 126 | - * @param string $testCase Name of the calling test case. |
|
| 127 | 126 | * |
| 128 | 127 | * @return \PDepend\Source\AST\ASTVariableVariable |
| 129 | 128 | */ |