Completed
Push — master ( a479c5...d88593 )
by Emir
11:30
created
src/test/php/PDepend/Metrics/Analyzer/CodeRankAnalyzerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -466,6 +466,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/test/php/PDepend/Metrics/Analyzer/NPathComplexityAnalyzerTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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()
Please login to merge, or discard this patch.
src/test/php/PDepend/ParserTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -984,7 +984,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Report/Dependencies/XmlTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -219,6 +219,9 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/test/php/PDepend/Report/DummyAnalyzer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/test/php/PDepend/Source/AST/AbstractASTArtifactTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Source/AST/ASTCallableTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Source/AST/ASTFunctionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Source/AST/ASTNodeTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.