@@ -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 | { |
@@ -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 | */ |
@@ -44,7 +44,6 @@ |
||
| 44 | 44 | |
| 45 | 45 | use PDepend\AbstractTest; |
| 46 | 46 | use PDepend\Util\ConfigurationInstance; |
| 47 | -use PHPUnit_Framework_TestCase; |
|
| 48 | 47 | |
| 49 | 48 | /** |
| 50 | 49 | * Test case for the text ui command. |